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.
This commit is contained in:
parent
16208d1199
commit
362be9608c
@ -4402,7 +4402,7 @@ in {
|
|||||||
|
|
||||||
scipy = let
|
scipy = let
|
||||||
scipy_ = callPackage ../development/python-modules/scipy { };
|
scipy_ = callPackage ../development/python-modules/scipy { };
|
||||||
scipy_1_2 = scipy_.overridePythonAttrs(oldAttrs: {
|
scipy_1_2 = scipy_.overridePythonAttrs(oldAttrs: rec {
|
||||||
version = "1.2.1";
|
version = "1.2.1";
|
||||||
src = oldAttrs.src.override {
|
src = oldAttrs.src.override {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
Loading…
Reference in New Issue
Block a user