Merge pull request #186513 from mweinelt/psycop-multiplatform

This commit is contained in:
Martin Weinelt
2022-08-14 00:12:17 +02:00
committed by GitHub
@@ -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}";
})
];