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