diff --git a/modules/secrets/subscriber.nix b/modules/secrets/subscriber.nix index 3605243..75cdd62 100644 --- a/modules/secrets/subscriber.nix +++ b/modules/secrets/subscriber.nix @@ -56,8 +56,5 @@ service.overrideAttrs (o: { buildInputs = (lim.orEmpty o.buildInputs) ++ optional (watch != []) watcher; dependencies = (lim.orEmpty o.dependencies) - # ++ optionals - # (watch != []) - # ([ watcher ] ++ watched-services); - ; + ++ optional (watch != []) watcher; }) diff --git a/pkgs/watch-outputs/watch-outputs.fnl b/pkgs/watch-outputs/watch-outputs.fnl index 597f1ae..9ae6344 100644 --- a/pkgs/watch-outputs/watch-outputs.fnl +++ b/pkgs/watch-outputs/watch-outputs.fnl @@ -71,7 +71,7 @@ (fn open-services [output-references] (collect [s p (pairs output-references)] - (values (assert (svc.open (.. s "/.outputs"))) p))) + (values (svc.open (.. s "/.outputs")) p))) (fn run [] (let [trees {} @@ -89,7 +89,6 @@ (each [service paths (pairs services)] (let [new-tree (service:output ".")] (when (changed? paths (. trees service) new-tree) - (print "watched path event:" action controlled-service) (do-action action controlled-service))))))))