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: '*'
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue