-
Notifications
You must be signed in to change notification settings - Fork 237
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
How to add pkgconfig packages without forking haskell.nix #1664
Comments
#1641 also broke my overlay-based pkg-config. I read the documentation to see if there were changes to pkg-config-support and I didn't see anything - I suppose because the option newly introduced here isn't documented yet. I didn't find this ticket until I bisected haskell.nix to find the revision that introduced the regression, then followed the outlinks to various tickets, including this one. |
Yeah sorry about that. My fix got merged without accompanying docs. But there is a PR up for them now if you'd like to give any feedback as to whether they would have helped you! #1670 |
This is caused by #1641 (@hamishmack)
The
cabalPkgConfigWrapper
works fine for packages in nixpkgs and manually mapped inpkgconf-nixpkgs-map.nix
, but if a user adds their own pkgconfig-based packages via overlay, it will fail to find them. This is a regression from the previous behavior (which relied on a cabal bug).I have an example in this PR (
examples/sdl-gpu-minimal
): https://gitlab.com/macaroni.dev/macaroni.nix/-/merge_requests/12This is the error I get (as expected -
SDL_FontCache
is a C library I packaged myself):Exposing a way for the user to inject their own packages to the mapping in their
cabalProject
call would be a nice fix. I can take a stab at that.The text was updated successfully, but these errors were encountered: