From b708a3523a6e365d4c69e3c2d4aebd6b5ca199d5 Mon Sep 17 00:00:00 2001 From: Samuel Ainsworth Date: Tue, 3 Jan 2023 16:30:06 -0500 Subject: 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 Co-authored-by: Martin Weinelt --- pkgs/development/python-modules/gym/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="; }; -- cgit 1.4.1