1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-23 08:35:08 +01:00
home-manager/tests
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
..
integration home-manager: move profile management 2025-01-03 11:22:59 +01:00
lib senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
modules firefox: avoid unnecessarily overriding package 2025-01-29 18:29:44 +01:00
asserts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
big-test.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix ollama: add darwin support 2025-01-25 00:54:49 +01:00
flake.nix home-manager: move tests into new test flake 2025-01-24 22:31:22 +01:00
stubs.nix tests: add mkStubPackage in Nixpkgs overlay 2024-03-03 06:56:05 +01:00