Added curses variant of util-linux. cfdisk is a fine tool..

svn path=/nixpkgs/trunk/; revision=9870
This commit is contained in:
Michael Raskin 2007-12-06 19:36:43 +00:00
parent 285a11f346
commit 58610e801a
2 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
args: with args;
stdenv.mkDerivation {
name = "util-linux-2.13-pre7";
@ -10,6 +10,10 @@ stdenv.mkDerivation {
configureFlags = "--disable-use-tty-group";
buildInputs = []
++ (if args ? ncurses then [args.ncurses] else [])
;
preBuild = "
makeFlagsArray=(usrbinexecdir=$out/bin usrsbinexecdir=$out/sbin datadir=$out/share exampledir=$out/share/getopt)
";

View File

@ -3530,6 +3530,10 @@ rec {
inherit fetchurl stdenv;
};
utillinuxCurses = import ../os-specific/linux/util-linux {
inherit fetchurl stdenv ncurses;
};
utillinuxStatic = lowPrio (appendToName "static" (import ../os-specific/linux/util-linux {
inherit fetchurl;
stdenv = makeStaticBinaries stdenv;