2010-03-04 15:39:47 +01:00
|
|
|
{ stdenv, fetchurl, aterm, perl, curl, bzip2, sqlite, openssl ? null
|
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-03-05 14:09:33 +01:00
|
|
|
name = "nix-0.15pre20408";
|
2010-03-04 15:39:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-03-05 14:09:33 +01:00
|
|
|
url = "http://hydra.nixos.org/build/310943/download/4/${name}.tar.bz2";
|
2010-03-05 14:15:03 +01:00
|
|
|
sha256 = "f94d95981db9093604c843225aa9f9dfe82d3352cb1ecba92de03d117d9bb4b9";
|
2010-03-04 15:39:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [perl curl openssl];
|
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
|
|
|
--with-aterm=${aterm} --with-bzip2=${bzip2} --with-sqlite=${sqlite}
|
|
|
|
--disable-init-state
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
passthru = { inherit aterm; };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The Nix Deployment System";
|
|
|
|
homepage = http://nixos.org/;
|
|
|
|
license = "LGPL";
|
|
|
|
};
|
|
|
|
}
|