[Nix-dev] Localizing firefox

Lluís Batlle i Rossell viric at viric.name
Tue Nov 12 09:03:37 CET 2013


On Tue, Nov 12, 2013 at 11:58:01AM +0400, Sergey Mironov wrote:
> Hi. I've commited a new wrapper for firefox browser to my local
> branch. It is probably not ready for master because of too
> straightforward way of doing things which may break in some cases.
> Still I think it may be handy for administrators.
> 
> https://github.com/grwlf/nixpkgs/commit/5bef35c5c3a7dda5b73978d6822bb54796d24b08
> 
> In short, the wrapper does two things: 1) Downloads language pack in
> the background when it thinks language pack is not installed. 2) Adds
> corresponding -UILocale <lang> option to the underlying default
> firefox wrapper.  Use it like this:
> 
>   environment.systemPackages = with pkgs ; [
>     ...
>     (firefoxLocaleWrapper "ru")
>     ...
>   ];

I use a localised firefox too... but installing the language pack, makes it
redownload an updated version at every firefox update.

This didn't use to happen.


More information about the nix-dev mailing list