3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.psycopg: use proper shared library extension

Closes: #185918
This commit is contained in:
Martin Weinelt 2022-08-13 23:31:32 +02:00
parent 1fc66678fc
commit 999916d802
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchurl
@ -59,7 +60,7 @@ buildPythonPackage {
patches = [
(substituteAll {
src = ./libpq.patch;
libpq = "${postgresql.lib}/lib/libpq.so";
libpq = "${postgresql.lib}/lib/libpq${stdenv.hostPlatform.extensions.sharedLibrary}";
})
];