awscli2: prevent propagating inputs (#300186)

This commit is contained in:
kirillrdy
2024-10-23 09:27:07 +11:00
committed by GitHub
+6
View File
@@ -141,6 +141,12 @@ py.pkgs.buildPythonApplication rec {
export HOME=$(mktemp -d)
'';
# Propagating dependencies leaks them through $PYTHONPATH which causes issues
# when used in nix-shell.
postFixup = ''
rm $out/nix-support/propagated-build-inputs
'';
pytestFlagsArray = [
"-Wignore::DeprecationWarning"
];