fix(haskell)[1]

This commit is contained in:
Jacob Heider 2023-08-21 18:35:33 -04:00
parent 39296731e7
commit 566d41c308
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -51,14 +51,14 @@ build:
curl.se: '*'
tea.xyz/gx/make: '*'
script:
- curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
- PATH={{prefix}}/.ghcup/bin:$PATH
- ghcup install ghc {{version}}
- ghcup set ghc {{version}}
- run: ln -s .ghcup/* .
working-directory: ${{prefix}}
# - curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
# - PATH={{prefix}}/.ghcup/bin:$PATH
# - ghcup install ghc {{version}}
# - ghcup set ghc {{version}}
# - run: ln -s .ghcup/* .
# working-directory: ${{prefix}}
- run: |
sed -i.bak -e "s|$TEA_PREFIX|\$TEA_PREFIX|g" *-{{version}}
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$TEA_PREFIX|\$TEA_PREFIX|g"
rm *.bak
working-directory: ${{prefix}}/ghc/{{version}}/bin
env: