bazel: support tools/bazel workspace bootstrap scripts
Bazel supports per-workspace bootstrap scripts at $WORKSPACE_ROOT/ tools/bazel. This adds support for this behavior, which is needed by many Bazel projects (OSS and private).
This commit is contained in:
parent
9c0decaee5
commit
02b2f62d65
@ -192,7 +192,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv output/bazel $out/bin
|
||||
cp scripts/packages/bazel.sh $out/bin/bazel
|
||||
mv output/bazel $out/bin/bazel-real
|
||||
wrapProgram "$out/bin/bazel" --set JAVA_HOME "${runJdk}"
|
||||
mkdir -p $out/share/bash-completion/completions $out/share/zsh/site-functions
|
||||
mv output/bazel-complete.bash $out/share/bash-completion/completions/bazel
|
||||
|
Loading…
Reference in New Issue
Block a user