mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
c4332bb7a1
svn path=/nixpkgs/trunk/; revision=20243
32 lines
730 B
Nix
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.15pre20231";
|
|
|
|
src = fetchurl {
|
|
url = "http://hydra.nixos.org/build/303065/download/4/${name}.tar.bz2";
|
|
sha256 = "ecdb6669f98030b5e3c1aefed971e41eebb3a57b381f786637a8468c17d4c7f8";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|