mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:37:53 +00:00
awscli2: prevent propagating inputs
Prevents awscli2 from polluting the environment when using nix-shell
This commit is contained in:
parent
70e46c586f
commit
a44b0f635e
@ -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"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user