nixpkgs/pkgs/tools/package-management/nix/unstable.nix
Eelco Dolstra c36d75a40a * Latest unstable Nix.
svn path=/nixpkgs/trunk/; revision=15735
2009-05-26 16:25:41 +00:00

34 lines
837 B
Nix

{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
, supportOldDBs ? true
}:
stdenv.mkDerivation rec {
name = "nix-0.13pre15614";
src = fetchurl {
url = "http://hydra.nixos.org/build/32581/download/4/${name}.tar.bz2";
sha256 = "236c84cf85739fe1deddd8f98f634eac03df9c7a588f4c1e234e80e84a471d00";
};
buildInputs = [perl curl openssl];
configureFlags = ''
--with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-aterm=${aterm} --with-bzip2=${bzip2}
${if supportOldDBs then "--with-bdb=${db4}" else "--disable-old-db-compat"}
--disable-init-state
'';
doCheck = true;
passthru = { inherit aterm; };
meta = {
description = "The Nix Deployment System";
homepage = http://nixos.org/;
license = "LGPL";
};
}