-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Get pkg-config dependencies from pkg-configPackages
#594
Comments
In principle there is no reason why we can't use that for special pkg-config specific code in It is nice to have some of the ongoing maintenance in nixpkgs in any case, but I'm not sure if it makes stuff simpler in cabal2nix (but maybe that's just life). |
I suppose a similar |
Have my reservation about this idea, but I think it's a question we can revisit later. |
It does complicate the interface for overriding. Maybe it'd be better to consume a json, so that the overriding interface remains unchanged. That'd make the function parameters dynamic though, so it will look a bit messier in the generated code, with some |
Passing in a JSON lookup table was going to be my answer anyways for RFC 109. The lookup table would be used at generation time though, no need to generate eval time lookups when we can already lookup at generation time. |
I wrote NixOS/nixpkgs#212282 as a proposal to centralize this mapping in Nixpkgs.
Do you think it is fit for the purpose of cabal2nix?
The text was updated successfully, but these errors were encountered: