diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4259bf9..07380f12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,6 @@ jobs: - name: install pacman dependencies run: - stack --system-ghc exec export XDG_DATA_DIRS=/mingw64/share; - stack --system-ghc exec export PKG_CONFIG_PATH=/mingw64/bin/pkg-config; stack --system-ghc exec -- pacman --noconfirm -Syuu; stack --system-ghc exec -- pacman --noconfirm -Syuu; stack --system-ghc exec -- pacman -S --noconfirm msys2-keyring; @@ -48,7 +46,7 @@ jobs: stack --system-ghc exec -- pacman -S --noconfirm mingw-w64-x86_64-pcre; stack --system-ghc exec -- pacman -S pcre; stack --system-ghc exec -- pacman -S pcre-devel; - stack --system-ghc install regex-pcre + stack --system-ghc exec -- sh -c "export XDG_DATA_DIRS=/mingw64/share; export PKG_CONFIG_PATH=/mingw64/bin/pkg-config; stack --system-ghc install regex-pcre"