From 2eb4c1201245237ff77ac460294401b634fbee2a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 13 Jul 2011 10:50:22 +0000 Subject: [PATCH] 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 --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 69cbc13f2af..dfc6367c193 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;