Created
November 18, 2024 22:32
-
-
Save TerrorJack/8f95dba6cc1c6171d7578a9504dbf243 to your computer and use it in GitHub Desktop.
crime.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd "$(mktemp -d)" | |
curl -f -L --retry 5 https://downloads.haskell.org/ghc/9.10.1/ghc-9.10.1-aarch64-alpine3_18-linux.tar.xz | tar xJ --strip-components=1 | |
perl -pi -e 'BEGIN { binmode(STDIN); binmode(STDOUT); } s/aarch64-alpine-linux\0/aarch64-unknown-linux/' lib/aarch64-linux-ghc-9.*/libHSghc-9.*.so | |
sed -i -e 's/alpine/unknown/' mk/project.mk | |
sed -i -e 's/alpine/unknown/' configure | |
sed -i -e 's/alpine/unknown/' lib/settings | |
./configure --prefix=$HOME/.local | |
make install -j16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment