nixpkgs/pkgs/tools/package-management/nix/unstable.nix
Michael Raskin a5e3c976f4 Updated nixUnstable
svn path=/nixpkgs/trunk/; revision=10230
2008-01-20 11:19:20 +00:00

29 lines
695 B
Nix

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