jetbrains: add python3 to PATH
This commit is contained in:
parent
bbdb8416a0
commit
a9a080a60b
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, lib, makeDesktopItem, makeWrapper, patchelf, writeText
|
{ stdenv, lib, makeDesktopItem, makeWrapper, patchelf, writeText
|
||||||
, coreutils, gnugrep, which, git, unzip, libsecret, libnotify, e2fsprogs
|
, 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:
|
{ pname, product, productShort ? product, version, src, wmClass, jdk, meta, extraLdPath ? [], extraWrapperArgs ? [] }@args:
|
||||||
|
@ -71,7 +71,7 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
|
||||||
item=${desktopItem}
|
item=${desktopItem}
|
||||||
|
|
||||||
makeWrapper "$out/$pname/bin/${loName}.sh" "$out/bin/${pname}" \
|
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 ([
|
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([
|
||||||
# Some internals want libstdc++.so.6
|
# Some internals want libstdc++.so.6
|
||||||
stdenv.cc.cc.lib libsecret e2fsprogs
|
stdenv.cc.cc.lib libsecret e2fsprogs
|
||||||
|
|
Loading…
Reference in a new issue