crc: fix `update.sh` not updating git hash

The update script correctly updated all version information,
but never updated the `hash` attribute for `fetchFromGitHub`,
causing the build to silently use the old version without
throwing any errors.

See https://github.com/NixOS/nixpkgs/pull/217528 for reference.

+6
+6
pkgs/applications/networking/cluster/crc/update.sh
··· 25 25 https://api.github.com/repos/crc-org/crc/tags | 26 26 jq -r "map(select(.name == \"${LATEST_TAG_NAME}\")) | .[0] | .commit.sha") 27 27 28 + CRC_GIT_PREFETCH=$(nix-prefetch-url --unpack https://github.com/crc-org/crc/archive/${CRC_COMMIT}.tar.gz) 29 + CRC_GIT_HASH=$(nix hash to-sri --type sha256 ${CRC_GIT_PREFETCH}) 30 + 28 31 FILE_MAKEFILE=${WORKDIR}/Makefile 29 32 curl --silent https://raw.githubusercontent.com/crc-org/crc/${CRC_COMMIT}/Makefile >$FILE_MAKEFILE 30 33 ··· 44 47 ${NIXPKGS_CRC_FOLDER}/default.nix 45 48 46 49 sed -i "s|gitCommit = \".*\"|gitCommit = \"${CRC_COMMIT:-}\"|" \ 50 + ${NIXPKGS_CRC_FOLDER}/default.nix 51 + 52 + sed -i "s|gitHash = \".*\"|gitHash = \"${CRC_GIT_HASH}\"|" \ 47 53 ${NIXPKGS_CRC_FOLDER}/default.nix 48 54 49 55 sed -i "s|openShiftVersion = \".*\"|openShiftVersion = \"${OPENSHIFT_VERSION:-}\"|" \