fix dependency on kernel moduels in firewall service

mainline-omnia-wip
Daniel Barlow 2024-02-07 16:21:14 +00:00
parent c9e4c1b0da
commit 34291292c0
1 changed files with 5 additions and 3 deletions

View File

@ -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