From 6f4955581b37d2ae079941104df486fd390abd95 Mon Sep 17 00:00:00 2001 From: Tristan Date: Wed, 3 Jan 2024 07:34:18 +0000 Subject: [PATCH] watch process default to null --- tix/watch.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tix/watch.nix b/tix/watch.nix index 3d2079e..f3c7096 100644 --- a/tix/watch.nix +++ b/tix/watch.nix @@ -2,7 +2,7 @@ pkgs: { cmd, setup ? null, stop ? null, - process ? "echo \"$out\"", + process ? null, view ? null, }: pkgs.writeShellScriptBin "watch" '' @@ -11,7 +11,7 @@ pkgs.writeShellScriptBin "watch" '' while true do out=$(${cmd}) - ${process} + ${toString process} ${ if view == null then ""