about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Ainsworth <skainsworth@gmail.com>2023-01-03 16:30:06 -0500
committerGitHub <noreply@github.com>2023-01-03 16:30:06 -0500
commitb708a3523a6e365d4c69e3c2d4aebd6b5ca199d5 (patch)
treee2a13e3629f67fd443a6fe3c44667b1e378b2a48
parent54289c7c05f4e8278be8e1a22729cf7e18eb9b6c (diff)
python3Packages.gym: remove unnecessary string interpolation (#208846)
* python3Packages.gym: remove unnecessary string interpolation

* python3Packages.gym: use "refs/tags/foo" instead of "foo"

Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>

Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
-rw-r--r--pkgs/development/python-modules/gym/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/gym/default.nix b/pkgs/development/python-modules/gym/default.nix
index 44fbdc0401237..ad19991140bae 100644
--- a/pkgs/development/python-modules/gym/default.nix
+++ b/pkgs/development/python-modules/gym/default.nix
@@ -15,7 +15,7 @@ buildPythonPackage rec {
   src = fetchFromGitHub {
     owner = "openai";
     repo = pname;
-    rev = "${version}";
+    rev = "refs/tags/${version}";
     sha256 = "sha256-uJgm8l1SxIRC5PV6BIH/ht/1ucGT5UaUhkFMdusejgA=";
   };