You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
custom setup code needs to be adapted for Cabal-3.14, as they introduced an abstract path type:
$ cabal build -w /opt/ghc/ghc-9.12.1/bin/ghc
...
Build profile: -w ghc-9.12.1 -O1
In order, the following will be built (use -v for more details):
- mysql-0.2.1 (lib:mysql) (first run)
[1 of 2] Compiling Main ( dist-newstyle/build/x86_64-linux/ghc-9.12.1/mysql-0.2.1/setup/setup.hs, dist-newstyle/build/x86_64-linux/ghc-9.12.1/mysql-0.2.1/setup/Main.o )
dist-newstyle/build/x86_64-linux/ghc-9.12.1/mysql-0.2.1/setup/setup.hs:82:25: error: [GHC-83865]
• Couldn't match type: [Char]
with: Distribution.Utils.Path.SymbolicPathX
Distribution.Utils.Path.AllowAbsolute
Distribution.Utils.Path.Pkg
Perhaps it is enough to add the constraint in the cabal file
custom-setup
setup-depends: base, Cabal<3.14
The text was updated successfully, but these errors were encountered:
jwaldmann
added a commit
to jwaldmann/mysql
that referenced
this issue
Jan 9, 2025
custom setup code needs to be adapted for Cabal-3.14, as they introduced an abstract path type:
Perhaps it is enough to add the constraint in the cabal file
The text was updated successfully, but these errors were encountered: