Skip to content

Commit 8a182f0

Browse files
committed
improved ghc setup
1 parent 8383b3c commit 8a182f0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

foundation-pak/build-foundation-pak-for-ghc-9.2.7.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ set -x -e
44
# setup
55
############
66

7+
unameOut="$(uname -s)"
8+
case "${unameOut}" in
9+
Linux*)
10+
machine=Linux
11+
sudo apt install python3-sphinx
12+
;;
13+
14+
Darwin*)
15+
machine=Mac
16+
brew install sphinx-doc
17+
;;
18+
19+
CYGWIN*)
20+
machine=Cygwin
21+
;;
22+
23+
MINGW*)
24+
machine=MinGw
25+
;;
26+
27+
MSYS_NT*)
28+
machine=Git
29+
;;
30+
31+
*)
32+
machine="UNKNOWN:${unameOut}"
33+
esac
34+
735
stack --resolver lts-20.24 install alex-3.2.6 happy-1.20.0 zip-cmd-1.0.1
836

937
############

0 commit comments

Comments
 (0)