mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 18:57:22 +00:00
Native messaging hosts module assumed all hosts are packages, and we were passing null before. The patch also adds a test case for a null firefox package to avoid regressions in the future for this common (on Darwin at least) scenario. Note: Thunderbird doesn't need a similar change because it doesn't allow a null package. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
10 lines
202 B
Nix
10 lines
202 B
Nix
modulePath:
|
|
{ config, lib, ... }:
|
|
|
|
lib.mkIf config.test.enableBig (lib.setAttrByPath modulePath { enable = true; }
|
|
// {
|
|
programs.firefox = {
|
|
enable = true;
|
|
package = null;
|
|
};
|
|
})
|