mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
38128e4716
commit
f6dc3a927e
|
@ -59,17 +59,13 @@ build:
|
||||||
- ghcup set ghc {{version}}
|
- ghcup set ghc {{version}}
|
||||||
- run: ln -s .ghcup/* .
|
- run: ln -s .ghcup/* .
|
||||||
working-directory: ${{prefix}}
|
working-directory: ${{prefix}}
|
||||||
- run: |
|
- run: find . -type f -print0 | xargs -0 sed -i -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g" -e 's/\+brewing//g'
|
||||||
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$PKGX_DIR|\${PKGX_DIR:-\$HOME/.pkgx}|g"
|
|
||||||
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:-\$HOME/.pkgx}|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: find . -type f -name \*.conf -print0 | xargs -0 sed -i -e 's|{{prefix}}|${pkgroot}/../../../../..|g' -e 's/\+brewing//g'
|
||||||
find . -type f -name \*.conf -print0 | xargs -0 sed -i.bak -e 's|{{prefix}}|${pkgroot}/../../../../..|g'
|
|
||||||
find . -type f -name \*.conf.bak -delete
|
|
||||||
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/package.conf.d
|
working-directory: ${{prefix}}/ghc/{{version}}/lib/ghc-{{version}}/package.conf.d
|
||||||
if: <9.4
|
if: <9.4
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue