Skip to content

Commit

Permalink
Add correct paths as extra-include-dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
lazamar committed Dec 1, 2024
1 parent b866f32 commit a102d67
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3


# - name: Install MSYS for Windors
# if: runner.os == 'Windows'
# uses: msys2/setup-msys2@v2
Expand Down Expand Up @@ -84,8 +80,8 @@ jobs:
$ghcMingwDir = Join-Path -Path $(ghc --print-libdir) `
-ChildPath ../mingw/x86_64-*-mingw32/lib/ `
-Resolve
cabal user-config -a "extra-prog-path: C:/msys64/mingw64/bin, C:/msys64/usr/bin" `
-a "extra-include-dirs: C:/msys64/mingw64/include, /mingw64/include/mysql, \mingw64\include\mysql" `
cabal user-config -a "extra-prog-path: C:\\msys64\\mingw64\\bin, C:\\msys64\\usr\\bin" `
-a "extra-include-dirs: C:\\msys64\\mingw64\\include, C:\\msys64\\mingw64\\include\\mysql, C:\\msys64\\mingw64\\include\\mariadb" `
-a ("extra-lib-dirs: {0}, C:/msys64/mingw64/lib" -f $ghcMingwDir) `
-f init
Expand Down

0 comments on commit a102d67

Please sign in to comment.