Closed
Description
Describe the bug
Upon updating cabal from 3.6.2.0 to 3.8.1.0, I get this bizarre error:
[_10] rejecting: HsOpenSSL:-use-pkg-config (constraint from project config
/Users/clinton.mead/source/neph/brt/cabal.project requires opposite flag
selection)
[_10] rejecting: HsOpenSSL:+use-pkg-config (conflict: pkg-config package
libcrypto-any, not found in the pkg-config database)
I am intentionally using the +use-pkg-config
flag, with the following in my cabal.project
file:
constraints: HsOpenSSL +use-pkg-config
cabal version 3.6.2.0 happily builds though.
To Reproduce
Steps to reproduce the behavior:
$ cabal build all
I'm not sure what difference using v2-build
makes, but cabal v2-build all
produces the same error.
Expected behavior
The build working like it does for cabal 3.6.2.0
System information
- MacOS
- cabal 3.8.1.0
- GHC 9.2.2
Additional context
As this is propriety software it may be a bit tricky to give you a full reproducible example