awscli2: Prevent pollution from other Python packages/envs (#428297)

This commit is contained in:
Silvan Mosberger
2025-09-15 11:31:42 +00:00
committed by GitHub
+8
View File
@@ -119,6 +119,14 @@ py.pkgs.buildPythonApplication rec {
less
];
# Prevent breakage when running in a Python environment: https://github.com/NixOS/nixpkgs/issues/47900
makeWrapperArgs = [
"--unset"
"NIX_PYTHONPATH"
"--unset"
"PYTHONPATH"
];
nativeCheckInputs = with py.pkgs; [
addBinToPathHook
jsonschema