From b3082e39256e6f6c331a73c2f73f55f3838a10e9 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 8 Dec 2023 16:27:26 +0300 Subject: [PATCH] Use camelCase for all nix files --- README.md | 2 +- nix/build-support/check-zig-cache-hash.sh | 8 ++++---- nix/package.nix | 2 +- nix/{zig-cache-hash.nix => zigCacheHash.nix} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename nix/{zig-cache-hash.nix => zigCacheHash.nix} (100%) 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}" <