nixpkgs/pkgs/tools/package-management/nix/unstable.nix

32 lines
730 B
Nix
Raw Normal View History

{ stdenv, fetchurl, aterm, perl, curl, bzip2, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
stdenv.mkDerivation rec {
name = "nix-0.14pre19016";
src = fetchurl {
url = "http://hydra.nixos.org/build/191984/download/4/${name}.tar.bz2";
sha256 = "998d550ff2420d3fe2fdac498136f228845064f4c70fe730410431985a1b5012";
};
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";
};
}