Skip to content

Commit

Permalink
python.pkgs.scipy: inherit the correct version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
timokau committed Jul 12, 2019
1 parent 5b8b5a6 commit 03226aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 03226aa

Please sign in to comment.