awscli2: enable building without pip in the environment

This commit is contained in:
Theodore Ni 2023-08-17 12:23:36 -07:00
parent b2d45d788a
commit f834047dec
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -47,6 +47,11 @@ with py.pkgs; buildPythonApplication rec {
substituteInPlace pyproject.toml \
--replace 'cryptography>=3.3.2,<40.0.2' 'cryptography>=3.3.2' \
--replace 'flit_core>=3.7.1,<3.8.1' 'flit_core>=3.7.1'
# upstream needs pip to build and install dependencies and validates this
# with a configure script, but we don't as we provide all of the packages
# through PYTHONPATH
sed -i '/pip>=/d' requirements/bootstrap.txt
'';
nativeBuildInputs = [