Merge pull request #152 from takeda/psycopg2

Add openssl for psycopg2-binary on Darwin
This commit is contained in:
adisbladis 2020-08-17 19:37:57 +02:00 committed by GitHub
commit 3204df6699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -475,6 +475,8 @@ self: super:
psycopg2-binary = super.psycopg2-binary.overridePythonAttrs (
old: {
buildInputs = old.buildInputs
++ lib.optional stdenv.isDarwin pkgs.openssl;
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.postgresql ];
}
);