diff --git a/README.md b/README.md index 37efc86ee..4f25bef7c 100644 --- a/README.md +++ b/README.md @@ -560,5 +560,5 @@ To update it, you can run the following in the repository root: ./nix/build-support/check-zig-cache-hash.sh --update ``` -This will write out the `nix/zig-cache-hash.nix` file with the updated hash +This will write out the `nix/zigCacheHash.nix` file with the updated hash that can then be committed and pushed to fix the builds. diff --git a/nix/build-support/check-zig-cache-hash.sh b/nix/build-support/check-zig-cache-hash.sh index bee6f5f60..26669b008 100755 --- a/nix/build-support/check-zig-cache-hash.sh +++ b/nix/build-support/check-zig-cache-hash.sh @@ -3,15 +3,15 @@ # Nothing in this script should fail. set -e -CACHE_HASH_FILE="$(realpath "$(dirname "$0")/../zig-cache-hash.nix")" +CACHE_HASH_FILE="$(realpath "$(dirname "$0")/../zigCacheHash.nix")" help() { echo "" echo "To fix, please (manually) re-run the script from the repository root," echo "commit, and push the update:" echo "" - echo " ./nix/build-support/check-zig-cache-hash.sh --update" - echo " git add nix/zig-cache-hash.nix" + echo " ./nix/build-support/check-zigCacheHash.sh --update" + echo " git add nix/zigCacheHash.nix" echo " git commit -m \"nix: update Zig cache hash\"" echo " git push" echo "" @@ -52,7 +52,7 @@ fi # Write out the cache file cat > "${CACHE_HASH_FILE}" <