···542542 # second call succeeds because it defers to $out/bin/bazel-{version}-{os_arch}
543543 hello_test
544544545545+ ## Test that the GSON serialisation files are present
546546+ gson_classes=$(unzip -l $(bazel info install_base)/A-server.jar | grep GsonTypeAdapter.class | wc -l)
547547+ if [ "$gson_classes" -lt 10 ]; then
548548+ echo "Missing GsonTypeAdapter classes in A-server.jar. Lockfile generation will not work"
549549+ exit 1
550550+ fi
551551+545552 runHook postInstall
546553 '';
547554