997723ec9b
It fails because it builds bin2c for the host system, instead of the build system. I will wait for a fix upstream. svn path=/nixpkgs/trunk/; revision=20445
33 lines
755 B
Nix
33 lines
755 B
Nix
{ stdenv, fetchurl, aterm, perl, curl, bzip2, openssl ? null
|
|
, storeDir ? "/nix/store"
|
|
, stateDir ? "/nix/var"
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nix-0.15pre20427";
|
|
|
|
src = fetchurl {
|
|
url = "http://hydra.nixos.org/build/311195/download/4/${name}.tar.bz2";
|
|
sha256 = "844e5878d55a68ae2aac657718a1960dcfc943f6738ebdfb2bc93e8c462d0ad7";
|
|
};
|
|
|
|
buildNativeInputs = [perl];
|
|
buildInputs = [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";
|
|
};
|
|
}
|