nixpkgs/pkgs/tools/package-management/nix-static/default.nix
Eelco Dolstra a7d27b2201 * Move nix to tools/package-management, and use the latest unstable
release.

svn path=/nixpkgs/trunk/; revision=8477
2007-03-29 09:24:14 +00:00

23 lines
727 B
Nix

{ stdenv, fetchurl, aterm, bdb, perl, curl, autoconf, automake, libtool
, 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.10pre5896";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/nix/nix-0.10pre5896/nix-0.10pre5896.tar.bz2;
md5 = "509d4a452cbf2894a86184b5eaf45abd";
};
buildInputs = [aterm bdb perl curl autoconf automake libtool];
inherit storeDir stateDir aterm bdb;
# uncomment if you want to be able to use nix-prefetch-url when NIX_ROOT
# is set
patches = [./nix-0.10pre5679.patch ./nix-0.10pre5896-static.patch];
}