about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-03-26 06:01:19 +0100
committerGitHub <noreply@github.com>2019-03-26 06:01:19 +0100
commita268365662a306851e454b5dcd991705e77ba8b6 (patch)
treeebdf000c3eda567a33207d693eeee56539fcce6e /pkgs/applications/networking
parenta62033452796e7e0565450cf7733b748b008c8d7 (diff)
parent377898bdc0ba4bd519e49c22a4fd4976a547c5f9 (diff)
Merge pull request #58197 from tohl/firefox-bin-systemLocale
firefox-bin with overrideable locale, tested on nixos x86_64
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;
   };