summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Penner <me@matthewp.io>2023-05-26 11:43:30 -0600
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-01 05:03:20 +0000
commit95bace1bb54f781df8d2082c27100d21531119db (patch)
tree11b28f6b06bf7eb85b96430d74a4c5f57fcb0f96
parentcoqPackages.extructures: enable for Coq 8.17 (diff)
downloadnixpkgs-origin/backport-234267-to-release-23.05.tar.gz
jetbrains: add python3 to PATHorigin/backport-234267-to-release-23.05
(cherry picked from commit a9a080a60b4c205df4fe98e27b07dde8689f4f6d)
-rw-r--r--pkgs/applications/editors/jetbrains/linux.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/jetbrains/linux.nix b/pkgs/applications/editors/jetbrains/linux.nix
index 7443842e7bf9..117a261e957f 100644
--- a/pkgs/applications/editors/jetbrains/linux.nix
+++ b/pkgs/applications/editors/jetbrains/linux.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, makeDesktopItem, makeWrapper, patchelf, writeText
, coreutils, gnugrep, which, git, unzip, libsecret, libnotify, e2fsprogs
-, vmopts ? null
+, python3, vmopts ? null
}:
{ pname, product, productShort ? product, version, src, wmClass, jdk, meta, extraLdPath ? [], extraWrapperArgs ? [] }@args:
@@ -71,7 +71,7 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
item=${desktopItem}
makeWrapper "$out/$pname/bin/${loName}.sh" "$out/bin/${pname}" \
- --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \
+ --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git python3 ]}" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([
# Some internals want libstdc++.so.6
stdenv.cc.cc.lib libsecret e2fsprogs