nixpkgs/pkgs/development/compilers/ghc/builder.sh

10 lines
207 B
Bash
Raw Normal View History

buildinputs="$perl $ghc $m4"
. $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