2009-11-24 14:19:20 +00:00
|
|
|
{ stdenv, fetchurl, aterm, perl, curl, bzip2, openssl ? null
|
2006-11-17 12:49:46 +00:00
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
|
|
|
|
2009-09-24 22:39:32 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-05-05 10:30:42 +01:00
|
|
|
name = "nix-0.16pre21576";
|
2010-03-11 10:51:53 +00:00
|
|
|
|
2007-08-14 17:41:41 +01:00
|
|
|
src = fetchurl {
|
2010-05-05 20:48:39 +01:00
|
|
|
url = "http://hydra.nixos.org/build/395008/download/4/${name}.tar.bz2";
|
2010-05-05 10:30:42 +01:00
|
|
|
sha256 = "1axmipk8vp9vwsq5wnhshgb0pcgbhanlxz8z2m3f5vxvixvw3i19";
|
2007-08-14 17:41:41 +01:00
|
|
|
};
|
2007-08-11 11:34:07 +01:00
|
|
|
|
2010-03-16 12:46:12 +00:00
|
|
|
buildNativeInputs = [ perl ];
|
|
|
|
buildInputs = [ curl openssl ];
|
2006-11-17 12:49:46 +00:00
|
|
|
|
2010-03-16 12:46:12 +00:00
|
|
|
configureFlags =
|
|
|
|
''
|
|
|
|
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
|
|
|
--with-aterm=${aterm} --with-bzip2=${bzip2}
|
|
|
|
--disable-init-state
|
|
|
|
'';
|
2006-11-17 12:49:46 +00:00
|
|
|
|
2009-01-29 16:08:03 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2009-03-09 15:27:23 +00:00
|
|
|
passthru = { inherit aterm; };
|
|
|
|
|
2006-11-17 12:49:46 +00:00
|
|
|
meta = {
|
|
|
|
description = "The Nix Deployment System";
|
2008-06-24 10:39:19 +01:00
|
|
|
homepage = http://nixos.org/;
|
2010-03-11 10:51:53 +00:00
|
|
|
license = "LGPLv2+";
|
2006-11-17 12:49:46 +00:00
|
|
|
};
|
|
|
|
}
|