Skip to content

Commit

Permalink
and more overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmohrin committed Oct 28, 2024
1 parent 5919cf7 commit 3b9947b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -45,5 +50,7 @@ pkgs.mkShell {

passthru = { inherit poetry-env; };

env.PUPPETEER_SKIP_DOWNLOAD = 1;
env = {
PUPPETEER_SKIP_DOWNLOAD = 1;
};
}

0 comments on commit 3b9947b

Please sign in to comment.