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