python3Packages.ansible-core: fix build

Changed files
+3 -3
pkgs
development
python-modules
ansible
+3 -3
pkgs/development/python-modules/ansible/core.nix
···
# the python interpreter again, as it would break execution of
# connection plugins.
postPatch = ''
-
substituteInPlace lib/ansible/executor/task_executor.py \
-
--replace "[python," "["
-
patchShebangs --build packaging/cli-doc/build.py
SETUPTOOLS_PATTERN='"setuptools[0-9 <>=.,]+"'
···
else
exit 2
fi
'';
nativeBuildInputs = [
···
# the python interpreter again, as it would break execution of
# connection plugins.
postPatch = ''
patchShebangs --build packaging/cli-doc/build.py
SETUPTOOLS_PATTERN='"setuptools[0-9 <>=.,]+"'
···
else
exit 2
fi
+
+
substituteInPlace pyproject.toml \
+
--replace-fail "wheel == 0.45.1" wheel
'';
nativeBuildInputs = [