Skip to content

Commit

Permalink
Merge pull request #1825 from takeda/psycopg-c
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Sep 27, 2024
2 parents aea314e + f053703 commit 0388258
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,9 @@
"asyncpg": [
"setuptools"
],
"asyncpg-stubs": [
"poetry-core"
],
"asyncsleepiq": [
"setuptools"
],
Expand Down Expand Up @@ -16313,6 +16316,9 @@
"psycopg": [
"setuptools"
],
"psycopg-c": [
"setuptools"
],
"psycopg-pool": [
"setuptools"
],
Expand Down
6 changes: 6 additions & 0 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2221,6 +2221,12 @@ lib.composeManyExtensions [
CMDSTAN = "${pkgs.cmdstan}";
});

psycopg-c = prev.psycopg-c.overridePythonAttrs (
old: {
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ pkgs.postgresql ];
}
);

psycopg2 = prev.psycopg2.overridePythonAttrs (
old: {
buildInputs = old.buildInputs or [ ]
Expand Down

0 comments on commit 0388258

Please sign in to comment.