mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nixos/firefox: dedupe identically nativeMessageHosts packages (#335253)
This commit is contained in:
commit
a9db65e0dd
@ -313,7 +313,9 @@ in
|
||||
old.extraPrefsFiles or [ ]
|
||||
++ cfg.autoConfigFiles
|
||||
++ [ (pkgs.writeText "firefox-autoconfig.js" cfg.autoConfig) ];
|
||||
nativeMessagingHosts = old.nativeMessagingHosts or [ ] ++ cfg.nativeMessagingHosts.packages;
|
||||
nativeMessagingHosts = lib.unique (
|
||||
old.nativeMessagingHosts or [ ] ++ cfg.nativeMessagingHosts.packages
|
||||
);
|
||||
cfg = (old.cfg or { }) // cfg.wrapperConfig;
|
||||
}))
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user