nixpkgs/pkgs/tools/package-management/nix/unstable.nix
Eelco Dolstra 10ca771495 * Latest Nix.
svn path=/nixpkgs/trunk/; revision=19653
2010-01-25 17:39:33 +00:00

32 lines
730 B
Nix

{ stdenv, fetchurl, aterm, perl, curl, bzip2, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
stdenv.mkDerivation rec {
name = "nix-0.14pre19652";
src = fetchurl {
url = "http://hydra.nixos.org/build/259251/download/4/${name}.tar.bz2";
sha256 = "e96d5e2cc7a86aea0d06f0d81395290d0c259004cc8a56d9eec203d5bb1a9d71";
};
buildInputs = [perl curl openssl];
configureFlags = ''
--with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-aterm=${aterm} --with-bzip2=${bzip2}
--disable-init-state
'';
doCheck = true;
passthru = { inherit aterm; };
meta = {
description = "The Nix Deployment System";
homepage = http://nixos.org/;
license = "LGPL";
};
}