Merge pull request #263667 from hacker1024/patch-6

jetbrains: Append Python to PATH rather than prepend
This commit is contained in:
Peder Bergebakken Sundt 2023-12-02 16:06:08 +01:00 committed by GitHub
commit 9dfa05ed19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" \