commit 6f908156afcdef9e99b90a0b7d529a7815d21d44 parent 534a49e827727529cc2c9e32048ee2cf0a20badf Author: Daniel Barlow <dan@telent.net> Date: Mon, 8 Jul 2024 19:28:57 +0100 fix dependency between modem-atz and modeswitch for values of "fix" more than slightly reminiscent of "kludge" Diffstat:
| M | modules/cdc-ncm/wwan.nix | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/cdc-ncm/wwan.nix b/modules/cdc-ncm/wwan.nix @@ -41,7 +41,10 @@ let }; atz = oneshot rec { name = "modem-atz"; - dependencies = [ modeswitch ]; + # atz does not depend on modeswitch because modeswitch service + # is only running when the stick is in the wrong mode + dependencies = [ modeswitch.controller ]; + buildInputs = [ modeswitch ]; controller = (svc.uevent-rule.build { serviceName = name; terms = {