mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(haskell)[1]
This commit is contained in:
parent
39296731e7
commit
566d41c308
1 changed files with 7 additions and 7 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue