From 3418c7c1e719658cab509347ad4995ef0e67998c Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Fri, 27 Oct 2023 09:43:36 +1100 Subject: [PATCH] jetbrains: Append Python to PATH rather than prepend --- pkgs/applications/editors/jetbrains/linux.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/jetbrains/linux.nix b/pkgs/applications/editors/jetbrains/linux.nix index 4a89ae202858..46cf00ea2131 100644 --- a/pkgs/applications/editors/jetbrains/linux.nix +++ b/pkgs/applications/editors/jetbrains/linux.nix @@ -120,7 +120,8 @@ with stdenv; lib.makeOverridable mkDerivation (rec { item=${desktopItem} wrapProgram "$out/$pname/bin/${loName}.sh" \ - --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git python3 ]}" \ + --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ + --suffix PATH : "${lib.makeBinPath [ python3 ]}" \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLdPath}" \ ${lib.concatStringsSep " " extraWrapperArgs} \ --set-default JDK_HOME "$jdk" \