Remove pipenv from dependency extractor derivation

This fixes automatic dependency extraction from packages when the user
asks for a python version that differs too much from the default python
in nixpkgs (which pipenv was built with).

Fixes https://github.com/DavHau/mach-nix/issues/426.
This commit is contained in:
Bjørn Forsman 2022-04-08 17:40:59 +02:00
parent 86c3111786
commit de2b19d61f

View file

@ -117,7 +117,7 @@ let
out_file=$out/python.json ${py}/bin/python -c "${setuptools_shim}" install &> $out/python.log || true
'';
base_derivation = pyVersions: with pkgs; {
buildInputs = [ unzip pkg-config pipenv ];
buildInputs = [ unzip pkg-config ];
phases = ["unpackPhase" "installPhase"];
# Tells our modified python builtins to dump setup attributes instead of doing an actual installation
dump_setup_attrs = "y";