nixpkgs/pkgs/tools/package-management/nix/default.nix
Eelco Dolstra b81415699f * Updated nixUnstable to the latest version. This is the first no-bdb
version, so if you use it, it will convert /nix/var/nix/db to the
  new schema.

svn path=/nixpkgs/trunk/; revision=12181
2008-06-24 09:39:19 +00:00

26 lines
641 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://nixos.org/releases/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://nixos.org/;
license = "LGPL";
};
}