diff --git a/nix/shell.nix b/nix/shell.nix index f38c3db25..7ea4a9add 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -26,7 +26,12 @@ let psycopg = prev.psycopg.overridePythonAttrs (old: { buildInputs = old.buildInputs or [ ] ++ lib.optionals pkgs.stdenv.isDarwin [ pkgs.openssl ]; + propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ pkgs.postgresql ]; + }); + + psycopg-c = prev.psycopg-c.overridePythonAttrs (old: { nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ pkgs.postgresql ]; + propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ final.setuptools ]; }); }); groups = poetry-groups;