From 61c3f7ca586e760d2e88730ba1dfd75a83378e9b Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 5 Jan 2025 22:30:22 +0100 Subject: [PATCH] Add comment referring to https://github.com/bazelbuild/bazel/issues/24829 --- MODULE.bazel.lock | 2 +- elisp/extensions.bzl | 5 ++++- examples/ext/MODULE.bazel.lock | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 071724ce..9362b1f5 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -176,7 +176,7 @@ "moduleExtensions": { "//elisp:extensions.bzl%elisp": { "general": { - "bzlTransitiveDigest": "Ohei8xR6MAPWcBFGjHeBJJtJS2JGdv/Bn/anHa525TY=", + "bzlTransitiveDigest": "UdSsUyV7PtmmHMRDPBIWiLPaGdvesH2jpU484RR/yS4=", "usagesDigest": "liZMS9ce4oz8dRujaSwrLfy/k+xo9hJ7wigNq+eJYmM=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, diff --git a/elisp/extensions.bzl b/elisp/extensions.bzl index ef76dbbe..f2579470 100644 --- a/elisp/extensions.bzl +++ b/elisp/extensions.bzl @@ -1,4 +1,4 @@ -# Copyright 2023, 2024 Google LLC +# Copyright 2023, 2024, 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -84,6 +84,9 @@ def _elisp_http_archive_impl(ctx): executable = False, ) +# FIXME: Remove this rule and inline its implementation once +# https://github.com/bazelbuild/bazel/issues/24829 is fixed in all supported +# versions of Bazel. _elisp_http_archive = repository_rule( doc = _HTTP_ARCHIVE_DOC.format(kind = "repository rule"), attrs = _HTTP_ARCHIVE_ATTRS | { diff --git a/examples/ext/MODULE.bazel.lock b/examples/ext/MODULE.bazel.lock index 6c08669e..8dcdc6db 100644 --- a/examples/ext/MODULE.bazel.lock +++ b/examples/ext/MODULE.bazel.lock @@ -185,7 +185,7 @@ }, "@@phst_rules_elisp+//elisp:extensions.bzl%elisp": { "general": { - "bzlTransitiveDigest": "Ohei8xR6MAPWcBFGjHeBJJtJS2JGdv/Bn/anHa525TY=", + "bzlTransitiveDigest": "UdSsUyV7PtmmHMRDPBIWiLPaGdvesH2jpU484RR/yS4=", "usagesDigest": "6mFjFWWQGjuMfZ4GX13pmOeiqlTo8nyRVAXYA9HOCGI=", "recordedFileInputs": {}, "recordedDirentsInputs": {},