nixpkgs/pkgs/tools/package-management/nix/default.nix
Yury G. Kudryashov a7703662a4 Merged with trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=10145
2008-01-15 00:55:21 +00:00

27 lines
643 B
Nix

{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
stdenv.mkDerivation {
name = "nix-0.11";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/nix/nix-0.11/nix-0.11.tar.bz2;
md5 = "890c25ac0005ff466683869efc288b67";
};
buildInputs = [perl curl openssl];
configureFlags = "
--with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
--disable-init-state";
meta = {
description = "The Nix Deployment System";
homepage = http://nix.cs.uu.nl/;
license = "LGPL";
};
}