29e0bc3103
svn path=/nixpkgs/trunk/; revision=9663
24 lines
527 B
Nix
24 lines
527 B
Nix
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
|
|
, storeDir ? "/nix/store"
|
|
, stateDir ? "/nix/var"
|
|
,src
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nix-custom";
|
|
|
|
inherit src;
|
|
|
|
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";
|
|
};
|
|
}
|