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:
Timo Kaufmann 2019-07-12 22:31:26 +02:00 committed by GitHub
parent 16208d1199
commit 362be9608c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;