Fix language-c on windows

This commit is contained in:
Julian Ospald 2024-01-21 13:49:55 +08:00
parent e325728f38
commit c225f2cfee
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43
3 changed files with 9 additions and 3 deletions

View File

@ -178,7 +178,7 @@ jobs:
ARCH: 64
- os: windows-latest
ARTIFACT: "x86_64-mingw64-ghcup"
GHC_VER: 9.2.8
GHC_VER: 9.4.8
ARCH: 64
steps:
- name: Checkout code
@ -414,7 +414,7 @@ jobs:
DISTRO: na
- os: windows-latest
ARTIFACT: "x86_64-mingw64-ghcup"
GHC_VER: 9.2.8
GHC_VER: 9.4.8
ARCH: 64
DISTRO: na

View File

@ -12,6 +12,10 @@ else
constraints: http-io-streams -brotli,
any.aeson >= 2.0.1.0
if os(mingw32)
if impl(ghc >= 9.4)
constraints: language-c >= 0.9.3
source-repository-package
type: git
location: https://github.com/haskell/tar.git

View File

@ -18,7 +18,9 @@ elif os(mingw32)
constraints: zlib +bundled-c-zlib,
lzma +static,
text -simdutf,
vty-windows >=0.1.0.3
vty-windows >=0.1.0.3
if impl(ghc >= 9.4)
constraints: language-c >= 0.9.3
elif os(freebsd)
constraints: zlib +bundled-c-zlib,
zip +disable-zstd