82e678362f
svn path=/nixpkgs/trunk/; revision=4335
18 lines
442 B
Bash
18 lines
442 B
Bash
source $stdenv/setup
|
|
|
|
unzip $src
|
|
|
|
happy Language/Haskell/Harp/Parser.ly
|
|
ghc --make TrHarp.hs -o trharp
|
|
|
|
|
|
mkdir $out
|
|
mkdir $out/bin
|
|
cp trharp $out/bin/
|
|
|
|
ghc -c Language/Haskell/Harp/Match.hs
|
|
|
|
mkdir -p $out/hslibs/Language/Haskell/Harp/
|
|
cp Language/Haskell/Harp/Match.hs $out/hslibs/Language/Haskell/Harp/
|
|
cp Language/Haskell/Harp/Match.hi $out/hslibs/Language/Haskell/Harp/
|
|
cp Language/Haskell/Harp/Match.o $out/hslibs/Language/Haskell/Harp/
|