diff options
author | zimbatm <zimbatm@zimbatm.com> | 2019-03-29 14:38:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 14:38:03 +0100 |
commit | b9038204d6f54d6608a8a7d4242c104069d748d4 (patch) | |
tree | fe4ddd6b4c8e89cfc7ab7d2e88a4d74952404b49 /pkgs | |
parent | 704d02053b6abbfe3a9b2ea7fe7cfa883fb2eb2e (diff) | |
parent | 37f416a9cdd26c7fea5f24d4f42cf6288967a607 (diff) |
sublime3: Fix python api locale (#58491)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/editors/sublime/3/common.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/editors/sublime/3/common.nix b/pkgs/applications/editors/sublime/3/common.nix index 8f304524dffa..8b94b87e0505 100644 --- a/pkgs/applications/editors/sublime/3/common.nix +++ b/pkgs/applications/editors/sublime/3/common.nix @@ -1,6 +1,6 @@ {buildVersion, x32sha256, x64sha256, dev ? false}: -{ fetchurl, stdenv, glib, xorg, cairo, gtk2, gtk3, pango, makeWrapper, wrapGAppsHook, openssl, bzip2, runtimeShell, +{ fetchurl, stdenv, glib, glibcLocales, xorg, cairo, gtk2, gtk3, pango, makeWrapper, wrapGAppsHook, openssl, bzip2, runtimeShell, pkexecPath ? "/run/wrappers/bin/pkexec", libredirect, gksuSupport ? false, gksu, unzip, zip, bash, writeScript, common-updater-scripts, curl, gnugrep}: @@ -99,6 +99,7 @@ in let wrapProgram $out/sublime_text \ --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \ --set NIX_REDIRECTS ${builtins.concatStringsSep ":" redirects} \ + --set LOCALE_ARCHIVE "${glibcLocales.out}/lib/locale/locale-archive" \ ${stdenv.lib.optionalString (!legacy) ''"''${gappsWrapperArgs[@]}"''} # Without this, plugin_host crashes, even though it has the rpath |