summaryrefslogtreecommitdiff
path: root/games/anki/files/patch-python.bzl
blob: 7de2bafbafdd9deb60db9f49ee50a5dca405d75f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Since Bazel 4.2.0 bootstrapping Python stub scripts are prepended with
a "Shebang" expression.

--- python.bzl.orig	2021-08-20 19:05:37 UTC
+++ python.bzl
@@ -27,6 +27,7 @@ py_runtime(
     name = "python_runtime",
     interpreter_path = "{path}",
     python_version = "PY3",
+    stub_shebang = "#!{path}",
     visibility = ["//visibility:public"],
 )