diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/hashes.json | 4 | ||||
| -rwxr-xr-x | nix/scripts/update-hashes.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nix/hashes.json b/nix/hashes.json index b85e146d7..4c953c5a8 100644 --- a/nix/hashes.json +++ b/nix/hashes.json @@ -1,6 +1,6 @@ { "nodeModules": { - "x86_64-linux": "sha256-8nur5CuUCSV/SzD16hNXVoIlKsiPBXDzCnoITK0IhC4=", - "aarch64-darwin": "sha256-vD1g9dviI2nMBTTPwI87sK01hSZ+cdnmb1V72AdJYq4=" + "x86_64-linux": "sha256-UCPTTk4b7d2bets7KgCeYBHWAUwUAPUyKm+xDYkSexE=", + "aarch64-darwin": "sha256-Y3o6lovahSWoG9un/l1qxu7hCmIlZXm2LxOLKNiPQfQ=" } } diff --git a/nix/scripts/update-hashes.sh b/nix/scripts/update-hashes.sh index 22c556363..1e294fe4f 100755 --- a/nix/scripts/update-hashes.sh +++ b/nix/scripts/update-hashes.sh @@ -10,7 +10,7 @@ HASH_FILE=${HASH_FILE:-$DEFAULT_HASH_FILE} if [ ! -f "$HASH_FILE" ]; then cat >"$HASH_FILE" <<EOF { - "nodeModules": "$DUMMY" + "nodeModules": {} } EOF fi @@ -111,7 +111,7 @@ fi write_node_modules_hash "$CORRECT_HASH" -jq -e --arg hash "$CORRECT_HASH" '.nodeModules == $hash' "$HASH_FILE" >/dev/null +jq -e --arg system "$SYSTEM" --arg hash "$CORRECT_HASH" '.nodeModules[$system] == $hash' "$HASH_FILE" >/dev/null echo "node_modules hash updated for ${SYSTEM}: $CORRECT_HASH" |
