pip: allow git+ssh dependencies

This commit is contained in:
Vincent Vanlaer 2024-01-22 11:02:04 +01:00 committed by DavHau
parent 774019d486
commit eb3b7028d5
2 changed files with 3 additions and 2 deletions

View File

@ -135,7 +135,7 @@ in {
inherit (cfg) env pypiSnapshotDate pipFlags pipVersion requirementsList requirementsFiles nativeBuildInputs;
inherit (config.deps) writePureShellScript nix;
inherit (config.paths) findRoot;
inherit (nixpkgs) gitMinimal nix-prefetch-scripts python3 writeText;
inherit (nixpkgs) gitMinimal nix-prefetch-scripts python3 writeText openssh;
pythonInterpreter = "${python}/bin/python";
};
setuptools = config.deps.python.pkgs.setuptools;

View File

@ -42,6 +42,7 @@
gitMinimal,
writePureShellScript,
nix-prefetch-scripts,
openssh,
}: let
package = import ./package.nix {
inherit
@ -57,7 +58,7 @@
python3.withPackages
(ps: [ps.mitmproxy ps.python-dateutil]);
path = [nix gitMinimal] ++ nativeBuildInputs;
path = [nix gitMinimal openssh] ++ nativeBuildInputs;
args = writeText "pip-args" (builtins.toJSON {
filterPypiResponsesScript = ./filter-pypi-responses.py;