3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/nix/default.nix
Eelco Dolstra 3edb5db85d * Doh!
svn path=/nixpkgs/trunk/; revision=2548
2005-04-12 13:51:20 +00:00

20 lines
501 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.8";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/nix/nix-0.8/nix-0.8.tar.gz;
md5 = "ec09cf46cfe6467d899b07cf47fc85b6";
};
buildInputs = [aterm bdb perl curl];
inherit storeDir stateDir aterm bdb;
}