about summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/uulib-ghc-6.6/builder.sh
blob: bbe21eac49e69ab710d8421a458b4f0cca5d649a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
source $stdenv/setup


tar xzf "$src" &&
cd uulib-* &&


autoconf &&
./configure --prefix=$out &&


ghc --make Setup.hs -o setup -package Cabal &&
./setup configure --prefix=$out --with-hc-pkg=ghc-pkg &&


./setup build &&
./setup install &&
./setup register --gen-script &&

mkdir -p $out/nix-support/ &&
cp register.sh $out/nix-support/register-ghclib.sh