191a465665
for Linux/x86, which is not pure and doesn't work on other platforms! svn path=/nixpkgs/trunk/; revision=776
12 lines
210 B
Bash
Executable file
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
|