qt53: override postgresql autodetection
This commit is contained in:
parent
5eae46fc93
commit
4d36b10f90
@ -144,6 +144,11 @@ stdenv.mkDerivation rec {
|
|||||||
-${optionalString (buildTests == false) "no"}make tests
|
-${optionalString (buildTests == false) "no"}make tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# PostgreSQL autodetection fails sporadically because Qt omits the "-lpq" flag
|
||||||
|
# if dependency paths contain the string "pq", which can occur in the hash.
|
||||||
|
# To prevent these failures, we need to override PostgreSQL detection.
|
||||||
|
PSQL_LIBS = optionalString (postgresql != null) "-L${postgresql}/lib -lpq";
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
xlibs.libXcomposite libX11 libxcb libXext libXrender libXi
|
xlibs.libXcomposite libX11 libxcb libXext libXrender libXi
|
||||||
fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre
|
fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre
|
||||||
|
Loading…
x
Reference in New Issue
Block a user