8d4e61d096
added ghc-wrapper to use a generated global package.conf added uuagc svn path=/nixpkgs/trunk/; revision=4608
19 lines
496 B
Nix
19 lines
496 B
Nix
{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];
|
|
};
|
|
}
|