From a2ddd3643e03767321edee7edffb3cbab7f9ab83 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Mon, 22 Apr 2013 13:56:29 +0200 Subject: [PATCH] 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. --- pkgs/top-level/all-packages.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c2fd7d03e6..8e0e375f1da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;