mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
firefox: do not override other attributes in 'cfg' (#1988)
Closes #1962.
This commit is contained in:
parent
15a2953c81
commit
7d765d8f46
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ in
|
||||||
if isDarwin then
|
if isDarwin then
|
||||||
cfg.package
|
cfg.package
|
||||||
else if versionAtLeast config.home.stateVersion "19.09" then
|
else if versionAtLeast config.home.stateVersion "19.09" then
|
||||||
cfg.package.override { cfg = fcfg; }
|
cfg.package.override (old: { cfg = old.cfg or {} // fcfg; })
|
||||||
else
|
else
|
||||||
(pkgs.wrapFirefox.override { config = bcfg; }) cfg.package { };
|
(pkgs.wrapFirefox.override { config = bcfg; }) cfg.package { };
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue