about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-04-18 21:56:41 +0200
committerAlan Pearce2024-04-18 21:56:41 +0200
commit7203854714190d4adee41d56fa7872eadf77d181 (patch)
treeb0a05fba5b366bb94e4082ead4038285cf76ec3a /flake.nix
parenteb51778065f61a2fe5e15c3f0cdba0e3b306731a (diff)
downloadwebsite-7203854714190d4adee41d56fa7872eadf77d181.tar.lz
website-7203854714190d4adee41d56fa7872eadf77d181.tar.zst
website-7203854714190d4adee41d56fa7872eadf77d181.zip
ensure watchexec is available
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files 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;
             };