diff options
author | Timo Kaufmann <timokau@zoho.com> | 2019-07-12 22:31:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-12 22:31:26 +0200 |
commit | 362be9608c3e0dc5216e9d1d5f5c1a5643b7f7b1 (patch) | |
tree | 00520a4ec3ffcdf7da14845f8358b9139809f59c /pkgs | |
parent | 16208d1199c78c11bdc2a7eb91f7a9c2ca3276d1 (diff) |
python.pkgs.scipy: inherit the correct version (#64678)
Because of the missing `rec` the inherited version was actually the nixpkgs version. AS a result, the output name depended on how nixpkgs was fetched, introducing impurity.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 04e1345810859..4f10313bb50f9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4402,7 +4402,7 @@ in { scipy = let scipy_ = callPackage ../development/python-modules/scipy { }; - scipy_1_2 = scipy_.overridePythonAttrs(oldAttrs: { + scipy_1_2 = scipy_.overridePythonAttrs(oldAttrs: rec { version = "1.2.1"; src = oldAttrs.src.override { inherit version; |