mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(haskell^8) (#3029)
* fix(haskell^8) * last guess :/ * ghc-pkg check * i think this does it * 9.0 didn't actually build before
This commit is contained in:
parent
0e71d27a8d
commit
5605365a50
1 changed files with 14 additions and 1 deletions
|
@ -42,6 +42,8 @@ dependencies:
|
||||||
invisible-island.net/ncurses: 6
|
invisible-island.net/ncurses: 6
|
||||||
tea.xyz/gx/cc: 'c99' # ghc uses this during builds
|
tea.xyz/gx/cc: 'c99' # ghc uses this during builds
|
||||||
sourceware.org/libffi: 3
|
sourceware.org/libffi: 3
|
||||||
|
linux:
|
||||||
|
github.com/numactl/numactl: ^2
|
||||||
|
|
||||||
warnings:
|
warnings:
|
||||||
- vendored
|
- vendored
|
||||||
|
@ -59,8 +61,17 @@ build:
|
||||||
working-directory: ${{prefix}}
|
working-directory: ${{prefix}}
|
||||||
- run: |
|
- run: |
|
||||||
find . -type f -print0 | xargs -0 sed -i.bak -e "s|$TEA_PREFIX|\$TEA_PREFIX|g"
|
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
|
||||||
|
- run: |
|
||||||
|
sed -i.bak -e "s|$TEA_PREFIX|\$TEA_PREFIX|g" env
|
||||||
|
rm env.bak
|
||||||
|
working-directory: ${{prefix}}/.ghcup
|
||||||
|
- run: |
|
||||||
|
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
|
||||||
|
if: <9.4
|
||||||
env:
|
env:
|
||||||
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
|
||||||
BOOTSTRAP_HASKELL_NO_UPGRADE: 1
|
BOOTSTRAP_HASKELL_NO_UPGRADE: 1
|
||||||
|
@ -70,6 +81,8 @@ build:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
- ghc-pkg recache
|
||||||
|
- ghc-pkg check
|
||||||
- test "$(runghc $FIXTURE)" = "Hello World"
|
- test "$(runghc $FIXTURE)" = "Hello World"
|
||||||
fixture:
|
fixture:
|
||||||
main = putStrLn "Hello World"
|
main = putStrLn "Hello World"
|
||||||
|
|
Loading…
Reference in a new issue