diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a8b4b5d9b53a..6401f931fd73 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -26105,11 +26105,12 @@ in { local wrapped="$out/bin/.$file-wrapped" mv "$wrapper" "$wrapped" - cat > "$wrapper" <<- EOF - export PATH="$PATH:\$PATH" - export VIRTUALENVWRAPPER_PYTHONPATH="$PYTHONPATH:$(toPythonPath $out)" - source "$wrapped" - EOF + # WARNING: Don't indent the lines below because that would break EOF + cat > "$wrapper" << EOF +export PATH="$PATH:\$PATH" +export VIRTUALENVWRAPPER_PYTHONPATH="$PYTHONPATH:$(toPythonPath $out)" +source "$wrapped" +EOF chmod -x "$wrapped" chmod +x "$wrapper"