postgresql-libpq
0.10.2.0 or higher won't build - where's the fix go?
#2281
Labels
postgresql-libpq
0.10.2.0 or higher won't build - where's the fix go?
#2281
More of a question really for now.
since this MR
postgresql-libpq
has significantly changed how they find/register their nativelibpq
dependency andhaskell.nix
seemingly no longer can find it.I have a workaround to use locally which is just fix it myself (thanks for this feature)
packages.postgresql-libpq-configure.components.library.libs = pkgs.lib.mkForce [ pkgs.postgresql ];
However it would be very nice if everything did work, and i'm a little lost, so i'm looking for advice on where the fix should be.
The original code simply used to have
extra-libraries: pq
in the cabal file - which i can see hackage.nix maps to apostgresql
dependency.the new version instead has a new package which (as i read it) uses a
setup: Configure
to register the dependency from within the configure file.At a guess hackage.nix has no clue about the Configure step's desire to have
libpq
before it's too late - which makes me think that it should still be in thepostgresql-libpq-configure.cabal
'sextra-libraries
The text was updated successfully, but these errors were encountered: