From cf28ad7e6f7cd14e489c5326a54117827f7cf89d Mon Sep 17 00:00:00 2001 From: Charlie Hanley Date: Sun, 26 Sep 2021 16:06:59 -0400 Subject: [PATCH] python3Packages.python3-application: refactor Don't interpolate a variable into the URL string because a) if the variable changes but the hash does not, erroneous cached files may be used for the FOD; and b) it is convenient for those reading to have the whole URL so they can open it. --- pkgs/development/python-modules/python3-application/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python3-application/default.nix b/pkgs/development/python-modules/python3-application/default.nix index cddb354a5db2..51794d096d18 100644 --- a/pkgs/development/python-modules/python3-application/default.nix +++ b/pkgs/development/python-modules/python3-application/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { # Apply bugfix commit that is not yet part of a release (fetchpatch { name = "fix-time-import.patch"; - url = "https://github.com/AGProjects/${pname}/commit/695f7d769e69c84e065872ffb403157d0af282fd.patch"; + url = "https://github.com/AGProjects/python3-application/commit/695f7d769e69c84e065872ffb403157d0af282fd.patch"; sha256 = "sha256-MGs8uUIFXkPXStOn5oCNNEMVmcKrq8YPl8Xvl3OTOUM="; }) ];