ensure watchexec is available
Alan Pearce alan@alanpearce.eu
Thu, 18 Apr 2024 21:56:41 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M flake.nix → flake.nix
@@ -33,10 +33,10 @@ gomod2nix.packages.${system}.default 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; };