2006-10-11 16:31:52 +01:00
|
|
|
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2
|
2004-03-31 11:19:01 +01:00
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
2004-02-16 16:54:01 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2006-10-11 13:25:40 +01:00
|
|
|
name = "nix-0.10.1";
|
2006-10-11 16:31:52 +01:00
|
|
|
|
2004-02-16 15:40:55 +00:00
|
|
|
src = fetchurl {
|
2006-10-11 13:25:40 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.10.1/nix-0.10.1.tar.bz2;
|
|
|
|
md5 = "22dc0c024ca5bb477da0b38ba834dbf2";
|
2004-02-16 15:40:55 +00:00
|
|
|
};
|
2006-10-11 16:31:52 +01:00
|
|
|
|
|
|
|
buildInputs = [perl curl];
|
|
|
|
|
|
|
|
configureFlags = "
|
|
|
|
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
|
|
|
--with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
|
|
|
|
--disable-init-state";
|
2006-10-11 17:45:55 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Nix Deployment System";
|
|
|
|
};
|
2004-02-16 15:40:55 +00:00
|
|
|
}
|