-
-
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
Adding pkgconfig-depends: hdf5 pulls in Haskell's hdf5, not system hdf5 #626
Comments
Just add |
Ah, thanks, that works! But I'm not sure if we should close the issue now. I do see this as a bug. Specifying |
This falls certainly into the "works as intended category". I think everyone who learns about this is annoyed by it (at least in the beginning.) This is caused by conventions in nixpkgs which have to do with making overriding and cross-compilation work. It seems like a reasonable feature request to make this better, but I don’t see a solution without breaking other things. |
And something along the lines of "don't take |
It would break overriding of haskell packages. |
I see. Thanks for your responses, that has been very helpful. :) |
I have basically the following in my
.cabal
file (full repo):Note I don't want to have
hs-hdf5
in my package, because that's broken in nixpkgs. I want to usenixpkgs.hdf5
and build the bindings myself.However, the derivation
cabal2nix
generates includeshdf5
as an input argument, and that resolves tohaskellPackages.hdf5
.I was able to fix this weird situation by doing:
But for hopefully obvious reasons, this is not a good solution.
Any way out of this?
The text was updated successfully, but these errors were encountered: