From 3b9947b551f23844131d84452dab653a7e23aa97 Mon Sep 17 00:00:00 2001 From: Niklas Mohrin Date: Mon, 28 Oct 2024 19:22:15 +0100 Subject: [PATCH] and more overrides --- nix/shell.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; + }; }