* Nix 0.16.
svn path=/nixpkgs/trunk/; revision=23208
This commit is contained in:
parent
4cbec5ca20
commit
f5f32a5b4b
@ -1,33 +1,43 @@
|
||||
{ stdenv, fetchurl, aterm, perl, curl, bzip2, openssl ? null
|
||||
{ stdenv, fetchurl, perl, curl, bzip2, openssl ? null
|
||||
, storeDir ? "/nix/store"
|
||||
, stateDir ? "/nix/var"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nix-0.15";
|
||||
name = "nix-0.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://hydra.nixos.org/build/326788/download/4/${name}.tar.bz2";
|
||||
sha256 = "2d125e75dba387075a8bd443926d7fc6752e54cc9a21c2ef32e44fffc445a8ce";
|
||||
url = "http://nixos.org/releases/nix/${name}/build/565033/download/4/${name}.tar.bz2";
|
||||
sha256 = "0648ed285f263a2cc5a704c4aee70ec5f0415c3749f540c2691a2a613492c7c3";
|
||||
};
|
||||
|
||||
buildInputs = [ perl curl openssl ];
|
||||
buildNativeInputs = [ perl ];
|
||||
buildInputs = [ curl openssl ];
|
||||
|
||||
configureFlags =
|
||||
''
|
||||
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
||||
--with-aterm=${aterm} --with-bzip2=${bzip2}
|
||||
${stdenv.lib.optionalString (openssl != null) "--with-openssl=${openssl}"}
|
||||
--with-bzip2=${bzip2}
|
||||
--disable-init-state
|
||||
CFLAGS=-O3 CXXFLAGS=-O3
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
crossAttrs = {
|
||||
configureFlags =
|
||||
''
|
||||
--with-store-dir=${storeDir} --localstatedir=${stateDir}
|
||||
--with-bzip2=${bzip2.hostDrv}
|
||||
--disable-init-state
|
||||
CFLAGS=-O3 CXXFLAGS=-O3
|
||||
'';
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
passthru = { inherit aterm; };
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "The Nix Deployment System";
|
||||
homepage = http://nixos.org/;
|
||||
license = "LGPL";
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
||||
|
@ -6853,7 +6853,7 @@ let
|
||||
|
||||
mess = callPackage ../misc/emulators/mess { };
|
||||
|
||||
nix = nixUnstable;
|
||||
nix = nixStable;
|
||||
|
||||
nixStable = callPackage ../tools/package-management/nix {
|
||||
storeDir = getPkgConfig "nix" "storeDir" "/nix/store";
|
||||
|
Loading…
Reference in New Issue
Block a user