pkg(haskell-9.0.1): Add haskell 9.0.1

This commit is contained in:
Vargas, Dan 2021-03-17 12:35:16 -05:00
parent cb5ad603d0
commit fdf236a789
6 changed files with 36 additions and 0 deletions

19
packages/haskell/9.0.1/build.sh vendored Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
# Platform specific because a true source compile would require GHC to be installed already on the latest
curl -L "https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-deb10-linux.tar.xz" -o ghc.tar.xz
tar xf ghc.tar.xz --strip-components=1
rm ghc.tar.xz
./configure --prefix="$PREFIX"
make install -j$(nproc)
cd ../
rm -rf build