diff options
| author | Profpatsch <mail@profpatsch.de> | 2019-01-04 18:06:39 +0100 |
|---|---|---|
| committer | Profpatsch <mail@profpatsch.de> | 2019-01-10 18:46:25 +0100 |
| commit | 9e9fec640edab8b92e84b6dfd8ea01c585715cea (patch) | |
| tree | fc5636b5c96e67fd7c481801097c80ef28c7894b /pkgs/development/python-modules/httpserver | |
| parent | 7e3140688664fb8d83c802673c36075c1d1d8db1 (diff) | |
bazel: 0.20.0 -> 0.21.0
0.21 removed the bundled openjdk-distribution. Instead, tries to fetch
the “right” distribution on-the-fly when building.
So we need to provide our own openjdk.
According to
https://github.com/bazelbuild/bazel/issues/6865#issuecomment-447261288
we should set `--host_javabase="@local_jdk//:jdk` if we want to do
that. This uses the jdk that is currently in the environment, which is
openjdk 8 in our case. 0.21 defaulted to a toolchain for JDK9, which
we don’t package in nixpkgs, so we use the JDK8 toolchain.
This commit also replaces the line-number-based sed invocations with
something more stable.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
