| commit | 0edf66c5e42b4cff2a1a95316c1737ac7a0be7f9 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Mon Feb 24 18:48:23 2025 +0100 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Tue Feb 25 14:23:22 2025 +0000 |
| tree | f7c894cb45552b9018c07a23a6e429089c9ebc53 | |
| parent | 16cb15ab5aa2fc0193a1534e65ba2e527e3e8f56 [diff] |
osbase/build/kconfig-patcher: replace to_json with json.encode to_json isn't available in Bazel 8 Change-Id: Ic00091d2e1ea3b6acf1f712ed3653dc9d0c167f1 Reviewed-on: https://review.monogon.dev/c/monogon/+/3940 Tested-by: Jenkins CI Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/osbase/build/kconfig-patcher/kconfig-patcher.bzl b/osbase/build/kconfig-patcher/kconfig-patcher.bzl index 39e786e..dc43cfe 100644 --- a/osbase/build/kconfig-patcher/kconfig-patcher.bzl +++ b/osbase/build/kconfig-patcher/kconfig-patcher.bzl
@@ -28,6 +28,6 @@ cmd = """ $(location //osbase/build/kconfig-patcher) \ -in $< -out $@ '%s' - """ % struct(overrides = override_configs).to_json(), + """ % json.encode(struct(overrides = override_configs)), **kwargs )