2006-11-17 13:49:46 +01:00
|
|
|
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2
|
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-01-15 12:57:24 +01:00
|
|
|
name = "nix-0.11pre7667";
|
2006-11-17 13:49:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-01-15 12:57:24 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.11pre7667/nix-0.11pre7667.tar.bz2;
|
|
|
|
md5 = "f1228dbf6dc6a1fce41fb881850a5a82";
|
2006-11-17 13:49:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [perl curl];
|
|
|
|
|
|
|
|
configureFlags = "
|
|
|
|
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
|
|
|
--with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
|
|
|
|
--disable-init-state";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Nix Deployment System";
|
|
|
|
};
|
|
|
|
}
|