nixpkgs/pkgs/misc/nix/default.nix
Eelco Dolstra ce52a3635d * Nix updated to 0.7.
svn path=/nixpkgs/trunk/; revision=2300
2005-02-25 12:05:16 +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.7";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/nix/nix-0.7/nix-0.7.tar.gz;
md5 = "36ca1e13ddd45745e2a5975f8a0209ff";
};
buildInputs = [aterm bdb perl curl];
inherit storeDir stateDir aterm bdb;
}