on master help sign in
Use system GHC in stack
fd26c0bAhmad Salim Al-Sibahi
stylize.sh+1
@@ -7,6 +7,7 @@ then
7 mkdir -p ~/.local/bin
7 mkdir -p ~/.local/bin
8 export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
8 export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
9 curl --retry 3 -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
9 curl --retry 3 -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
10+ stack config set system-ghc --global true
10 stack install --resolver "lts-$STACKVER" stylish-haskell --no-terminal
11 stack install --resolver "lts-$STACKVER" stylish-haskell --no-terminal
11fi
12fi
12
13