-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
haskell.packages.ghc94: package builds fail if Requires.private in required pc file are not available in the build environment #212192
Comments
At some point, someone had posted about having to add a bunch of (edit: after a little searching, I think I was thinking of #205814) I just took a look, and it appears that If you're able to look into this, and figure out why |
This is likely due to haskell/cabal#8455 or haskell/cabal#8494. Basically Cabal unnecessarily invokes You can possibly work around this problem by overriding the Cabal version used for building |
I encounter this error while packaging new rpm: graph LR;
rpm --> selinux
selinux -.-> libpcre & libsepol
isn't a good use case for propagatedBuildInputs ? |
No. The dependency should not need to be propagated when linking dynamically, thus we don't—helping purity. When linking statically, we do propagate the dependency closure, but only then. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/haskell-ghc-9-4-4-flake-extra-dependencies/24777/5 |
Steps To Reproduce
On unstable (or haskell-updates):
Build log
Additional context
zeromq got updated with a new dep libsodium here. I tried first adding
I tried first to add to a haskell overlay
zeromq4-haskell = hfinal.lib.addPkgconfigDepend libsodium.dev hprev.zeromq4-haskell ;
to no avail. Moving libsodium to propagatedBuildInputs instead of buildInputs seems to fix it but not sure that's the proper fix ?Notify maintainers
Metadata
nixpkgs 5ed4819
The text was updated successfully, but these errors were encountered: