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:
parent
5b8b5a694c
commit
03226aac62
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue