-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find generated header files when building unix-time
with Cabal 2.2
#5169
Comments
An important detail here is that this used to work in cabal-2.0 |
I was able to confirm my suspicion about #4874 being the culprit: Now the question is if we can recover support for old packages by extending the include header searchpath to the new locations, and/or whether this was an unintentional regression or an intentional one (in which case we may want to consider a legacy fallback for older |
While this doesn't make this issue go away, the author of |
I'm kind of on the fence to say this was broken to begin with... |
This also breaks the ability to |
As a workaround for haskell/cabal#5169
|
also as noted on that ticket "in the time case, the |
Fwiw, the issue in #5223 is in a different phase: This is about about |
Still a problem in 2020 building old unix-time. |
I have been trying to build hoogle using
cabal new-build hoogle
. It fails on buildingunix-time
withfatal error: config.h: No such file or directory
.This is likely due to a missing
include-dirs: cbits
in the cabal file forunix-time
. This was determined by a successful build ofkazu-yamamoto/unix-time
releasev0.3.7
by including that missing line. The build succeeded withcabal new-build
.This was found using cabal-install 2.2.0.0, ghc 8.0.2, WSL Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: