mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(haskell)
This commit is contained in:
parent
fb2d01d6f0
commit
2b62f93a25
1 changed files with 5 additions and 2 deletions
|
@ -42,6 +42,7 @@ dependencies:
|
||||||
sourceware.org/libffi: 3
|
sourceware.org/libffi: 3
|
||||||
linux:
|
linux:
|
||||||
github.com/numactl/numactl: ^2
|
github.com/numactl/numactl: ^2
|
||||||
|
gnu.org/gcc: '*'
|
||||||
|
|
||||||
warnings:
|
warnings:
|
||||||
- vendored
|
- vendored
|
||||||
|
@ -49,6 +50,8 @@ warnings:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
|
linux:
|
||||||
|
gnu.org/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
|
||||||
|
@ -57,11 +60,11 @@ build:
|
||||||
- run: ln -s .ghcup/* .
|
- run: ln -s .ghcup/* .
|
||||||
working-directory: ${{prefix}}
|
working-directory: ${{prefix}}
|
||||||
- run: |
|
- run: |
|
||||||
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$PKGX_DIR|\$PKGX_DIR|g"
|
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g"
|
||||||
rm *.bak
|
rm *.bak
|
||||||
working-directory: ${{prefix}}/ghc/{{version}}/bin
|
working-directory: ${{prefix}}/ghc/{{version}}/bin
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak -e "s|$PKGX_DIR|\$PKGX_DIR|g" env
|
sed -i.bak -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g" env
|
||||||
rm env.bak
|
rm env.bak
|
||||||
working-directory: ${{prefix}}/.ghcup
|
working-directory: ${{prefix}}/.ghcup
|
||||||
- run: |
|
- run: |
|
||||||
|
|
Loading…
Reference in a new issue