mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue