Added curses variant of util-linux. cfdisk is a fine tool..
svn path=/nixpkgs/trunk/; revision=9870
This commit is contained in:
parent
285a11f346
commit
58610e801a
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl}:
|
args: with args;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "util-linux-2.13-pre7";
|
name = "util-linux-2.13-pre7";
|
||||||
|
@ -10,6 +10,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
configureFlags = "--disable-use-tty-group";
|
configureFlags = "--disable-use-tty-group";
|
||||||
|
|
||||||
|
buildInputs = []
|
||||||
|
++ (if args ? ncurses then [args.ncurses] else [])
|
||||||
|
;
|
||||||
|
|
||||||
preBuild = "
|
preBuild = "
|
||||||
makeFlagsArray=(usrbinexecdir=$out/bin usrsbinexecdir=$out/sbin datadir=$out/share exampledir=$out/share/getopt)
|
makeFlagsArray=(usrbinexecdir=$out/bin usrsbinexecdir=$out/sbin datadir=$out/share exampledir=$out/share/getopt)
|
||||||
";
|
";
|
||||||
|
|
|
@ -3530,6 +3530,10 @@ rec {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
utillinuxCurses = import ../os-specific/linux/util-linux {
|
||||||
|
inherit fetchurl stdenv ncurses;
|
||||||
|
};
|
||||||
|
|
||||||
utillinuxStatic = lowPrio (appendToName "static" (import ../os-specific/linux/util-linux {
|
utillinuxStatic = lowPrio (appendToName "static" (import ../os-specific/linux/util-linux {
|
||||||
inherit fetchurl;
|
inherit fetchurl;
|
||||||
stdenv = makeStaticBinaries stdenv;
|
stdenv = makeStaticBinaries stdenv;
|
||||||
|
|
Loading…
Reference in New Issue