nixpkgs/pkgs/development/compilers/ghc/boot.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

12 lines
210 B
Bash
Executable File

#! /bin/sh
buildinputs="$perl"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd ghc-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*/*.a || exit 1