fix(dhall)

between CI and CD, zlib-0.7.0 released, which fails to find the library on macOS. haskell is *SO* *FRUSTRATING*.
This commit is contained in:
Jacob Heider 2024-02-08 14:51:24 -05:00 committed by Jacob Heider
parent 62847a71a4
commit 3c41386f82

View file

@ -18,6 +18,12 @@ build:
haskell.org: '*'
haskell.org/cabal: '*'
script:
- run: |
sed -i '/unordered-containers/i\
-- zlib 0.7.0 fails to find zlib.dylib on macOS\
zlib >= 0.6.0 \&\& < 0.7 ,' \
dhall.cabal
if: darwin
- cabal v2-update
- mkdir -p {{prefix}}/bin
- cabal v2-install $ARGS
@ -34,4 +40,4 @@ provides:
test:
- dhall format <<< '{ = }' | grep '{=}'
- dhall normalize <<< 'let x = 1 in x' | grep 1
- dhall version | grep '{{version}}'
- dhall version | grep '{{version}}'