about summary refs log tree commit diff
diff options
context:
space:
mode:
author❄️ <5861043+superherointj@users.noreply.github.com>2024-06-24 19:10:25 -0300
committerGitHub <noreply@github.com>2024-06-24 19:10:25 -0300
commit17abd6cec044c167ec42d9d6e6e200619f20db88 (patch)
tree278935f9d85f5be4b4df9b83069373534e68642f
parent3e78a3baa022df53d8333d517396eb9f9b79e833 (diff)
parent426c92a494bdef08adb46606bccb6f257255725e (diff)
Merge pull request #322026 from PedroRegisPOAR/adds-glibcLocales-to-pycharm-community
jetbrains.pycharm-community: adds glibcLocales to pycharm-community
-rw-r--r--pkgs/applications/editors/jetbrains/bin/linux.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/editors/jetbrains/bin/linux.nix b/pkgs/applications/editors/jetbrains/bin/linux.nix
index 1effb9def0079..d9f0391ba8daa 100644
--- a/pkgs/applications/editors/jetbrains/bin/linux.nix
+++ b/pkgs/applications/editors/jetbrains/bin/linux.nix
@@ -16,6 +16,7 @@
 , python3
 , autoPatchelfHook
 , vmopts ? null
+, glibcLocales
 }:
 
 { pname
@@ -112,6 +113,7 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
       --set-default JAVA_HOME "$jdk" \
       --set-default JETBRAINS_CLIENT_JDK "$jdk" \
       --set-default ${hiName}_JDK "$jdk" \
+      --set-default LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" \
       --set-default ${hiName}_VM_OPTIONS ${vmoptsFile}
 
     ln -s "$out/$pname/bin/${loName}.sh" $out/bin/$pname