Author: simons
Date: Wed Jul 13 10:50:22 2011
New Revision: 27749
URL: https://svn.nixos.org/websvn/nix/?rev=27749&sc=1

Log:
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.

Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Wed Jul 13 10:46:17 
2011        (r27748)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Wed Jul 13 10:50:22 
2011        (r27749)
@@ -5699,10 +5699,10 @@
 
   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;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to