nixos/fwupd: Fix configuration file merging

This commit is contained in:
Zhaofeng Li 2022-10-10 00:01:03 -06:00
parent c5924154f0
commit bbbda58c4e

View file

@ -50,7 +50,7 @@ let
# to install it because it would create a cyclic dependency between
# the outputs. We also need to enable the remote,
# which should not be done by default.
mkIf cfg.enableTestRemote (enableRemote cfg.package.installedTests "fwupd-tests")
if cfg.enableTestRemote then (enableRemote cfg.package.installedTests "fwupd-tests") else {}
);
in {