f762b50991
svn path=/nixpkgs/branches/stdenv-updates/; revision=15269
34 lines
840 B
Nix
34 lines
840 B
Nix
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
|
|
, storeDir ? "/nix/store"
|
|
, stateDir ? "/nix/var"
|
|
, supportOldDBs ? true
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nix-0.13pre15214";
|
|
|
|
src = fetchurl {
|
|
url = http://hydra.nixos.org/build/17407/download/1/nix-0.13pre15214.tar.bz2;
|
|
sha256 = "b2423eebb0c70fa2c38d11b5d5e6d8794ebc7283dfde8d1f1c02c54846014ab2";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|