nixpkgs/pkgs/development/compilers/helium/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

13 lines
303 B
Bash

buildinputs="$ghc"
source $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd helium-* || exit 1
cd lvm/src || exit 1
./configure --prefix $out || exit 1
cd ../../heliumNT || exit 1
./configure --prefix=$out || exit 1
cd src || exit 1
make depend || exit 1
make EXTRA_HC_OPTS=-O2 || exit 1
make install