nixpkgs-suyu/pkgs/tools/package-management/nix/unstable.nix
Eelco Dolstra a7d27b2201 * Move nix to tools/package-management, and use the latest unstable
release.

svn path=/nixpkgs/trunk/; revision=8477
2007-03-29 09:24:14 +00:00

24 lines
605 B
Nix

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