nixpkgs/pkgs/development/compilers/helium/builder.sh
Eelco Dolstra 191a465665 * Added GHC and Helium. Note that GHC is built using a pre-built GHC
for Linux/x86, which is not pure and doesn't work on other
  platforms!

svn path=/nixpkgs/trunk/; revision=776
2004-02-12 13:18:24 +00:00

16 lines
310 B
Bash
Executable file

#! /bin/sh
buildinputs="$ghc"
. $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