From 34291292c0cfb04cb1649903822e4d9a1f78e45b Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 7 Feb 2024 16:21:14 +0000 Subject: [PATCH] fix dependency on kernel moduels in firewall service --- modules/firewall/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/firewall/default.nix b/modules/firewall/default.nix index 4fe6653..101a2e7 100644 --- a/modules/firewall/default.nix +++ b/modules/firewall/default.nix @@ -55,9 +55,11 @@ in }; }; in svc // { - build = args : (svc.build args) // { - dependencies = [ loadModules ] ++ (svc.dependencies or []); - }; + build = args : + let args' = args // { + dependencies = (args.dependencies or []) ++ [loadModules]; + }; + in svc.build args' ; }; # For historical reasons the kernel config is split between