2007-03-01 16:44:23 +01:00
|
|
|
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
|
2006-11-17 13:49:46 +01:00
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-03-29 11:24:14 +02:00
|
|
|
name = "nix-0.11pre8456";
|
2006-11-17 13:49:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2007-03-29 11:24:14 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.11pre8456/nix-0.11pre8456.tar.bz2;
|
|
|
|
md5 = "7c6939f94f2a5fe8586df3d39b0e1ab5";
|
2006-11-17 13:49:46 +01:00
|
|
|
};
|
|
|
|
|
2007-03-01 16:44:23 +01:00
|
|
|
buildInputs = [perl curl openssl];
|
2006-11-17 13:49:46 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|