nixpkgs/pkgs/tools/package-management/nix/unstable.nix
Eelco Dolstra 6f1ad6fd79 * Function `writeScript' which is like writeText but makes its output executable.
* Latest unstable Nix.

svn path=/nixpkgs/trunk/; revision=9123
2007-08-14 16:41:41 +00:00

25 lines
626 B
Nix

{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
stdenv.mkDerivation {
name = "nix-0.11pre9121";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/nix/nix-0.11pre9121/nix-0.11pre9121.tar.bz2;
sha256 = "0yd84g8gyl1xnb0ki0ssy270ff6bs4xy3mjf2ixa7xj9ch3hbyhm";
};
buildInputs = [perl curl openssl];
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";
};
}