summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2019-01-15 15:14:33 +0100
committerProfpatsch <mail@profpatsch.de>2019-01-15 19:25:24 +0100
commit57004738b168663bb4053c6737053e0039cc6259 (patch)
tree1531e7ccaad38377781e8927d97ab1937cc21bd8 /pkgs/development/python-modules/httpserver
parent2ea8a2147c7c0e5a6857f98e13739651aab83eb0 (diff)
bazel: fix python stub paths.
Since the 0.21 upgrade, the host `$PATH` is not forwarded anymore by default to the sandboxes in charge to realize Bazel actions. This default change broke the `py_binary` rule among other things. Every python binary is wrapped in a stub in charge to setup the execution environment. Currently, this stub's shebang points to a `/usr/bin/env python` which cannot be resolved with the current `$PATH`. This results in breaking any build pipeline requiring the use of python at some point. On top of the incorrect shebang, the stub template is unable to find the actual python binary using `SearchPath`. This PR fixes those two things by re-writing the stub template shebang to the actual python binary and by substituting the faulty default python binary lookup to the right one.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions