mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
606dba5d0a
svn path=/nixpkgs/trunk/; revision=9218
25 lines
638 B
Nix
25 lines
638 B
Nix
{ stdenv, fetchurl, aterm, db4, perl, curl, bzip2, openssl ? null
|
|
, storeDir ? "/nix/store"
|
|
, stateDir ? "/nix/var"
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nix-0.11pre9217";
|
|
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.11pre9217/nix-0.11pre9217.tar.bz2;
|
|
sha256 = "79707d04e7a2bd0869b55fbfe05dcb673a2c864fb1fb72c390ae18db5ba633e5";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|