cabal linux fix (#48)

This commit is contained in:
Max Howell 2022-12-01 15:28:21 -05:00 committed by GitHub
parent 2febfb4657
commit 4be6500121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,9 @@ build:
dependencies:
curl.se: '*'
tea.xyz/gx/cc: c99
linux/aarch64:
github.com/numactl/numactl: ^2 # downloaded cabal needs this
tukaani.org/xz: 5
script: |-
case "X{{ hw.target }}" in
"Xaarch64-apple-darwin")
@ -68,4 +71,6 @@ build:
--installdir={{prefix}}/bin \
$ADDITIONAL_CABAL_FLAGS
test: true #FIXME
test: |
cabal --config-file=./config user-config init
cabal --config-file=./config info Cabal