change uulib to store all dependencies to package.conf

added ghc-wrapper to use a generated global package.conf
added uuagc

svn path=/nixpkgs/trunk/; revision=4608
This commit is contained in:
Christof Douma
2006-01-27 10:16:15 +00:00
parent 69b41650ad
commit 8d4e61d096
7 changed files with 100 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
{stdenv, fetchurl, ghc, uulib}:
#as long as cabal does not allow to specify which package.conf to use we create a wrapper
let {
uulibGHC = (import ../../../compilers/ghc-wrapper) {
libraries = [ uulib ];
inherit stdenv ghc;
};
body = stdenv.mkDerivation {
name = "uuagc";
src = fetchurl {
url = http://abaris.zoo.cs.uu.nl:8080/wiki/pub/HUT/Download/uuagc-0.9.1-src.tar.gz;
md5 = "0f29cad75bd759696edc61c24d1a5db9";
};
buildInputs = [uulibGHC];
};
}