mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
82e678362f
svn path=/nixpkgs/trunk/; revision=4335
19 lines
442 B
Bash
19 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/
|