Unverified Commit 760e2fb0 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

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

parents fc15a3e9 81c9d2f4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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