diff --git a/docs/.envrc b/docs/.envrc index 484fbdf91..1eab3d8dc 100644 --- a/docs/.envrc +++ b/docs/.envrc @@ -1,7 +1,8 @@ # shellcheck shell=bash source_up -watch_file $(find ./nix -name "*.nix" -printf '%p ') +mapfile -d '' -t nix_files < <(find ./nix -name "*.nix" -print0) +watch_file "${nix_files[@]}" # Because we depend on nixpkgs sources, uploading to builders takes a long time use flake .#docs --builders ''