diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-02-06 19:31:59 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-02-06 22:32:13 +0100 |
commit | e5f7dacc93ef3657baf7ddeccceaa6a8617c8b2a (patch) | |
tree | d1908010f9bfe7d8672ef2950539c402fa78c35d /nixos/tests | |
parent | c942013dbc270cdeb3f36c8d36d9b0c29b57c057 (diff) |
nixos/fwupd: disable test plugins implicitly
invalid test was introduced in https://github.com/fwupd/fwupd/commit/297d1598ef0739dc27c6cc884697bfd2ca03f2f5 and it is disabled in the shipped daemon.conf. I forgot to reflect that in the module, which caused the daemon to print the following on start-up: FuEngine invalid has incorrect built version invalid and the command to warn: WARNING: The daemon has loaded 3rd party code and is no longer supported by the upstream developers! To reduce the change of this happening in the future, I moved the list of default disabled plug-ins to the package expression. I also set the value of the NixOS module option in the config section of the module instead of the default value used previously, which will allow users to not care about these plug-ins.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/installed-tests/fwupd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/installed-tests/fwupd.nix b/nixos/tests/installed-tests/fwupd.nix index b9f761e99582e..6a0ceb57dda48 100644 --- a/nixos/tests/installed-tests/fwupd.nix +++ b/nixos/tests/installed-tests/fwupd.nix @@ -1,11 +1,11 @@ -{ pkgs, makeInstalledTest, ... }: +{ pkgs, lib, makeInstalledTest, ... }: makeInstalledTest { tested = pkgs.fwupd; testConfig = { services.fwupd.enable = true; - services.fwupd.blacklistPlugins = []; # don't blacklist test plugin + services.fwupd.blacklistPlugins = lib.mkForce []; # don't blacklist test plugin services.fwupd.enableTestRemote = true; virtualisation.memorySize = 768; }; |