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
haskellPackages.postgresql-libpq fails to link on Darwin #50902
Comments
Broken since ab1a64f |
That missing
line looks ominous. I'll investigate and see how things go on my friend's mac. |
I have the same issue as well.
|
I am trying to fix this on this branch: https://github.com/endgame/nixpkgs/tree/haskell-postgres-libpq In 81ff25d23fcbf783ff9337c573e76e64e959e874 I add a
|
These are all the compiler flags https://gist.github.com/LnL7/3f7f7e00a2c6b2ec15d27e1be139402f, there are no references to openssl there tho. |
Ah I think I see what's going on here, adding There's a good chance that making this also handle |
Thanks @LnL7 , I'll make a PR to use |
Is it correct to close an issue after the PR to fix it hits staging, or when it hits master? |
Github will do that automatically and it would take some effort to track when staging is merged back so the issue would often stay open otherwise. However for issues with a high impact it's sometimes opportune to keep them open to make them more discoverable and avoid people creating duplicates. |
Thanks. For some reason this hasn't self-closed, so I'll do that now. |
This still isn't working correctly - nixpkgs on darwin is not removing libpq.a despite libpq.dylib showing up in .lib I will investigate. |
Disregard, I think my channel wan't updating for some reason. |
Issue description
The macOS build of
haskellPackages.postgresql-libpq
fails to link in recent nixpkgs; it looks like something's wrong with (at least) the smoke tests:Full build.log
Steps to reproduce
This nix expression fails to build on macOS:
This is a regression: i can successfully enter a nix-shell using this package if I use an 18.09 channel.
Technical details
nix-info -m
:I am not sure how best to proceed. Please let me know if I can provide more useful information.
The text was updated successfully, but these errors were encountered: