mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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
|