2.home-manager/tests/modules/programs/firefox
Andrew Marshall bd530df4e2
firefox: avoid unnecessarily overriding package
When `cfg.package` is already wrapped, and wrapped without the
`ExtensionSettings` key set, this would always add that key, even if its
value was blank. This would result in `cfg.finalPackage` being a
functionally-identical, but differently-input-addressed package. This is
generally undesirable as it may result in multiple derivations being
built, and also if the value of `cfg.package` is expected to be
unchanged by the user (e.g. because they want it to be consistent
between NixOS and HM configuration).

Add a test to ensure this does not regress in the default case. Only
test on newish stateVersion since the logic for `isWrapped` differs on
older versions.
2025-01-29 18:29:44 +01:00
..
profiles firefox: change container.json version to 5 2024-10-19 09:02:11 +02:00
common.nix firefox: avoid unnecessarily overriding package 2025-01-29 18:29:44 +01:00
deprecated-native-messenger.nix firefox: support firefox derivatives 2024-07-28 23:53:08 +02:00
final-package.nix firefox: avoid unnecessarily overriding package 2025-01-29 18:29:44 +01:00
firefox.nix floorp: add module 2024-10-12 00:21:33 +02:00
floorp.nix floorp: add module 2024-10-12 00:21:33 +02:00
policies.nix floorp: add module 2024-10-12 00:21:33 +02:00
profile-settings.nix floorp: add module 2024-10-12 00:21:33 +02:00
setup-firefox-mock-overlay.nix firefox: support firefox derivatives 2024-07-28 23:53:08 +02:00
state-version-19_09.nix firefox: support firefox derivatives 2024-07-28 23:53:08 +02:00