diff --git a/nix/shell.nix b/nix/shell.nix index f38c3db25..e9c510fdc 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; @@ -45,5 +50,7 @@ pkgs.mkShell { passthru = { inherit poetry-env; }; - env.PUPPETEER_SKIP_DOWNLOAD = 1; + env = { + PUPPETEER_SKIP_DOWNLOAD = 1; + }; }