2004-04-08 16:17:47 +02:00
|
|
|
{ stdenv, fetchurl, aterm, bdb, perl, curl
|
2004-03-31 12:19:01 +02:00
|
|
|
, storeDir ? "/nix/store"
|
|
|
|
, stateDir ? "/nix/var"
|
|
|
|
}:
|
2004-02-16 17:54:01 +01:00
|
|
|
|
2004-03-31 12:19:01 +02:00
|
|
|
assert aterm != null && bdb != null && perl != null;
|
2004-02-16 17:54:01 +01:00
|
|
|
# assert bdb.version >= 4.2
|
|
|
|
# assert aterm.version >= 2.0
|
2004-02-16 16:40:55 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2005-09-29 14:36:49 +02:00
|
|
|
name = "nix-0.9.2";
|
2004-02-16 16:40:55 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-09-29 14:36:49 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/nix/nix-0.9.2/nix-0.9.2.tar.bz2;
|
|
|
|
md5 = "fc3a24f72760e357ac29935b2aebce0b";
|
2004-02-16 16:40:55 +01:00
|
|
|
};
|
2004-04-08 16:17:47 +02:00
|
|
|
buildInputs = [aterm bdb perl curl];
|
2005-10-11 19:29:37 +02:00
|
|
|
patches = [./nix-profile-0.9.2.patch];
|
2004-03-31 12:19:01 +02:00
|
|
|
inherit storeDir stateDir aterm bdb;
|
2004-02-16 16:40:55 +01:00
|
|
|
}
|