forked from mirrors/nixpkgs
0f68b0c9e1
svn path=/nixpkgs/trunk/; revision=6630
24 lines
681 B
Nix
24 lines
681 B
Nix
{ stdenv, fetchurl, aterm, bdb, perl, curl
|
|
, storeDir ? "/nix/store"
|
|
, stateDir ? "/nix/var"
|
|
}:
|
|
|
|
assert aterm != null && bdb != null && perl != null;
|
|
# assert bdb.version >= 4.2
|
|
# assert aterm.version >= 2.0
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nix-0.10pre6619";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.10pre6619/nix-0.10pre6619.tar.bz2;
|
|
md5 = "551a2ab48b87c0e7d95adc69a8f57e4e";
|
|
};
|
|
buildInputs = [aterm bdb perl curl];
|
|
inherit storeDir stateDir aterm bdb;
|
|
|
|
# uncomment if you want to be able to use nix-prefetch-url when NIX_ROOT
|
|
# is set. Not needed to build or install NixOS.
|
|
#patches = [./nix-0.10pre5679.patch];
|
|
}
|