forked from mirrors/nixpkgs
python3Packages.psycopg: use proper shared library extension
Closes: #185918
This commit is contained in:
parent
1fc66678fc
commit
999916d802
|
@ -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}";
|
||||
})
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue