git: prefer 'utillinuxcurses' over 'utillinux' in user profiles

Packages that need util-linux-ng as a build-time or run-time dependency
typically refer to the attribute 'utillinux', which is the expression with
the least possible set of features.

Users, however, who run "nix-env -i util-linux", don't want that version,
because it lacks support for perl and curses. In other words, users want
utillinuxngCurses by default, which is what this change accomplishes.

svn path=/nixpkgs/trunk/; revision=27749
This commit is contained in:
Peter Simons 2011-07-13 10:50:22 +00:00
parent 4e5cc9b965
commit 2eb4c12012

View File

@ -5699,10 +5699,10 @@ let
utillinuxCurses = utillinuxngCurses;
utillinuxng = callPackage ../os-specific/linux/util-linux-ng {
utillinuxng = lowPrio (callPackage ../os-specific/linux/util-linux-ng {
ncurses = null;
perl = null;
};
});
utillinuxngCurses = utillinuxng.override {
inherit ncurses perl;