mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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 {
|
||||
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)
|
||||
";
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user