diff options
| author | Mathieu Boespflug <m@tweag.io> | 2018-07-14 17:37:45 +0200 |
|---|---|---|
| committer | Profpatsch <mail@profpatsch.de> | 2018-07-19 09:51:09 +0200 |
| commit | c27f686a4b4fcd77efb0d332f463b9293b746061 (patch) | |
| tree | 753735db4d3d615f3110772a1bdf5195190faa48 /pkgs/development/python-modules/httpserver | |
| parent | 5ab07a8041c7b83ca294ba7a9bfb07ab9223935a (diff) | |
bazel: Set a sensible strict action environment.
Bazel either reuses the `PATH` from the client, or sets a hardcoded
one. The former mode in problematic for build hermeticity. But the
latter is crippled on NixOS, because the hardcoded value is
`/bin:/usr/bin`. So we set the hardcoded value to match what
`customBash` provides. This has the effect of aligning the
environments for `ctx.actions.run` and `ctx.actions.run_shell`, which
were previously distinct (bug).
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
