From 7203854714190d4adee41d56fa7872eadf77d181 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 18 Apr 2024 21:56:41 +0200 Subject: ensure watchexec is available --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c0a6c80..479e700 100644 --- a/flake.nix +++ b/flake.nix @@ -33,10 +33,10 @@ gci flyctl (writeShellScriptBin "watch-builder" '' - watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -i server.go -i public -r go run ./cmd/build' + ${pkgs.watchexec}/bin/watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -i server.go -i public -r go run ./cmd/build' '') (writeShellScriptBin "watch-server" '' - watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -r go run ./server.go' + ${pkgs.watchexec}/bin/watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -r go run ./server.go' '') ] ++ nativeBuildInputs; }; -- cgit 1.4.1