summaryrefslogtreecommitdiff
path: root/games/anki/files/patch-python_python.bzl
blob: 294631e6418c584f22feaf9637bd6d8378442aa3 (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/python.bzl.orig	2022-07-10 21:03:57 UTC
+++ python/python.bzl
@@ -77,6 +77,7 @@ py_runtime(
     name = "python_runtime",
     interpreter_path = "{path}",
     python_version = "PY3",
+    stub_shebang = "#!{path}",
     visibility = ["//visibility:public"],
 )