about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorTomas Hlavaty <tom@logand.com>2019-03-24 09:32:01 +0100
committerTomas Hlavaty <tom@logand.com>2019-03-24 09:32:01 +0100
commit377898bdc0ba4bd519e49c22a4fd4976a547c5f9 (patch)
tree85fda8198db21c33dc8bf54833adf7d97b13f9eb /pkgs/applications/networking
parent6158b9ef7c709ab41b538850f7af85ab924b2af5 (diff)
firefox-bin: allow overriding systemLocale
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/firefox-bin/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/firefox-bin/default.nix b/pkgs/applications/networking/browsers/firefox-bin/default.nix
index fab98ad2e2b57..4262609c66bae 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/default.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/default.nix
@@ -50,6 +50,7 @@
 , gnupg
 , ffmpeg
 , runtimeShell
+, systemLocale ? config.i18n.defaultLocale or "en-US"
 }:
 
 let
@@ -69,8 +70,6 @@ let
   sourceMatches = locale: source:
       (isPrefixOf source.locale locale) && source.arch == arch;
 
-  systemLocale = config.i18n.defaultLocale or "en-US";
-
   policies = {
     DisableAppUpdate = true;
   };