nixpkgs/pkgs/misc/nix/default.nix

20 lines
494 B
Nix
Raw Normal View History

{ 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.10";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/nix/nix-0.10/nix-0.10.tar.bz2;
md5 = "2e5db8be894b28873b5bb1b25194955f";
};
buildInputs = [aterm bdb perl curl];
inherit storeDir stateDir aterm bdb;
}