1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

python.pkgs.scipy: inherit the correct version

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.
This commit is contained in:
Timo Kaufmann 2019-07-12 22:03:44 +02:00
parent 5b8b5a694c
commit 03226aac62

View file

@ -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;