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: '*' curl.se: '*'
tea.xyz/gx/make: '*' tea.xyz/gx/make: '*'
script: script:
- curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh # - curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
- PATH={{prefix}}/.ghcup/bin:$PATH # - PATH={{prefix}}/.ghcup/bin:$PATH
- ghcup install ghc {{version}} # - ghcup install ghc {{version}}
- ghcup set ghc {{version}} # - ghcup set ghc {{version}}
- run: ln -s .ghcup/* . # - run: ln -s .ghcup/* .
working-directory: ${{prefix}} # working-directory: ${{prefix}}
- run: | - 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 rm *.bak
working-directory: ${{prefix}}/ghc/{{version}}/bin working-directory: ${{prefix}}/ghc/{{version}}/bin
env: env: