2004-09-19 14:34:01 +04:00
|
|
|
{stdenv, fetchurl}:
|
2004-02-16 13:40:45 +03:00
|
|
|
|
2004-03-29 21:23:01 +04:00
|
|
|
stdenv.mkDerivation {
|
2006-10-30 18:14:15 +03:00
|
|
|
name = "util-linux-2.13-pre7";
|
|
|
|
|
2004-02-16 13:40:45 +03:00
|
|
|
src = fetchurl {
|
2007-08-27 17:59:40 +04:00
|
|
|
url = mirror://kernel/linux/utils/util-linux/testing/util-linux-2.13-pre7.tar.bz2;
|
2006-10-30 18:14:15 +03:00
|
|
|
md5 = "13cdf4b76533e8421dc49de188f85291";
|
2004-02-16 13:40:45 +03:00
|
|
|
};
|
2006-10-30 18:14:15 +03:00
|
|
|
|
|
|
|
configureFlags = "--disable-use-tty-group";
|
|
|
|
|
|
|
|
preBuild = "
|
|
|
|
makeFlagsArray=(usrbinexecdir=$out/bin usrsbinexecdir=$out/sbin datadir=$out/share exampledir=$out/share/getopt)
|
|
|
|
";
|
2006-10-31 19:21:24 +03:00
|
|
|
|
|
|
|
# Hack to get static builds to work.
|
|
|
|
NIX_CFLAGS_COMPILE = "-DHAVE___PROGNAME=1";
|
2004-02-16 13:40:45 +03:00
|
|
|
}
|