From 68540fb7755d3be96c71cfc5a6f43a3d615d9de7 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 8 Mar 2025 21:30:15 -0600 Subject: [PATCH] tests/syncthing: syncthing wrapper stubbing for darwin --- tests/modules/services/syncthing/common/extra-options.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/modules/services/syncthing/common/extra-options.nix b/tests/modules/services/syncthing/common/extra-options.nix index 9db9f5940..226a5906b 100644 --- a/tests/modules/services/syncthing/common/extra-options.nix +++ b/tests/modules/services/syncthing/common/extra-options.nix @@ -2,6 +2,10 @@ lib.mkMerge [ { + test.stubs.writers = { + extraAttrs.writeBash = (name: fn: "@syncthing-wrapper@"); + }; + services.syncthing = { enable = true; extraOptions = [ "-foo" ''-bar "baz"'' ];