25 lines
585 B
Nix
25 lines
585 B
Nix
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2
|
|
, storeDir ? "/nix/store"
|
|
, stateDir ? "/nix/var"
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nix-0.11pre8026";
|
|
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-unstable-latest/nix-0.11pre8026.tar.bz2;
|
|
md5 = "3db1795ca6645ecefea63213b40d7e3c";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|