nixpkgs/pkgs/misc/nix/default.nix

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