* New Nix release.

svn path=/nixpkgs/trunk/; revision=886
This commit is contained in:
Eelco Dolstra 2004-03-31 10:19:01 +00:00
parent b3c93a41c1
commit 0376334dde
2 changed files with 15 additions and 14 deletions

View File

@ -1,10 +1,7 @@
buildinputs="$aterm $bdb"
. $stdenv/setup . $stdenv/setup
tar xvfj $src configureFlags="\
cd nix-* --with-store-dir=/nix/store --localstatedir=/nix/var \
./configure --prefix=$out \ --with-aterm=$aterm --with-bdb=$bdb"
--with-store-dir=/nix/store --localstatedir=/nix/var \
--with-aterm=$aterm --with-bdb=$bdb genericBuild
make
make install

View File

@ -1,15 +1,19 @@
{stdenv, fetchurl, aterm, bdb}: { stdenv, fetchurl, aterm, bdb, perl
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
}:
assert aterm != null && bdb != null; assert aterm != null && bdb != null && perl != null;
# assert bdb.version >= 4.2 # assert bdb.version >= 4.2
# assert aterm.version >= 2.0 # assert aterm.version >= 2.0
stdenv.mkDerivation { stdenv.mkDerivation {
name = "nix-0.5pre807"; name = "nix-0.5pre881";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/nix/nix-0.5pre807/nix-0.5pre807.tar.bz2; url = http://catamaran.labs.cs.uu.nl/dist/nix/nix-0.5pre881/nix-0.5pre881.tar.bz2;
md5 = "fa64bfc39de3e8903954328e4a90d530"; md5 = "427a4add7b374ea392ec81a3494cfb23";
}; };
inherit aterm bdb; buildInputs = [aterm bdb perl];
inherit storeDir stateDir aterm bdb;
} }