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:
19
pkgs/development/tools/haskell/uuagc/default.nix
Normal file
19
pkgs/development/tools/haskell/uuagc/default.nix
Normal 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];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user