let hydra also build python26Packages
for `nix-env -i` the later defined python27Packages seems to win. Another solution might be to have python26 oder python27 either in the name or the version. Let's have a look at haskelPackages for that.
This commit is contained in:
parent
b6c87f9f29
commit
a2ddd3643e
@ -5317,15 +5317,11 @@ let
|
||||
|
||||
pythonPackages = python27Packages;
|
||||
|
||||
# `nix-env -i python-nose` installs for 2.7, the default python.
|
||||
# Therefore we do not recurse into attributes here, in contrast to
|
||||
# python27Packages. `nix-env -iA python26Packages.nose` works
|
||||
# regardless.
|
||||
python26Packages = import ./python-packages.nix {
|
||||
python26Packages = recurseIntoAttrs (import ./python-packages.nix {
|
||||
inherit pkgs;
|
||||
inherit (lib) lowPrio;
|
||||
python = python26;
|
||||
};
|
||||
});
|
||||
|
||||
python27Packages = recurseIntoAttrs (import ./python-packages.nix {
|
||||
inherit pkgs;
|
||||
|
Loading…
Reference in New Issue
Block a user