nixpkgs/pkgs/tools/package-management/nix/unstable.nix
Eelco Dolstra 639faa0233 * Use latest Nix-unstable.
svn path=/nixpkgs/trunk/; revision=9333
2007-09-18 14:57:47 +00:00

27 lines
635 B
Nix

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