Skip to content

Commit 7df5346

Browse files
committed
feat(hm-module): add missing arg to pkgs.wrapFirefox
1 parent 8c87660 commit 7df5346

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

hm-module.nix

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,15 @@ in {
207207
programs.zen-browser = {
208208
package = lib.mkDefault (
209209
(pkgs.wrapFirefox (self.packages.${pkgs.stdenv.hostPlatform.system}."${name}-unwrapped".override {
210-
# Seems like zen uses relative (to the original binary) path to the policies.json file
211-
# and ignores the overrides by pkgs.wrapFirefox
212-
policies = cfg.policies;
213-
}) {}).override
210+
# Seems like zen uses relative (to the original binary) path to the policies.json file
211+
# and ignores the overrides by pkgs.wrapFirefox
212+
policies = cfg.policies;
213+
}) {
214+
icon =
215+
if name == "beta"
216+
then "zen-browser"
217+
else null;
218+
}).override
214219
{
215220
extraPrefs = cfg.extraPrefs;
216221
extraPrefsFiles = cfg.extraPrefsFiles;

0 commit comments

Comments
 (0)