Bazel: Difference between revisions

imported>Dmayle
No edit summary
imported>Milahu
add links to buildBazelPackage
Line 22: Line 22:
== Troubleshooting ==
== Troubleshooting ==
In some versions of bazel, the sandboxing does not inherit the FHS environment, and elements of the toolchain (notably {{ic|protoc}}) may fail to run.  In that case, switching to {{ic|pkgs.bazel_4}} should solve the problem.
In some versions of bazel, the sandboxing does not inherit the FHS environment, and elements of the toolchain (notably {{ic|protoc}}) may fail to run.  In that case, switching to {{ic|pkgs.bazel_4}} should solve the problem.
== See also ==
* [https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-bazel-package/default.nix buildBazelPackage implementation]
* [https://grep.app/search?filter%5Brepo%5D%5B0%5D=NixOS/nixpkgs&filter%5Blang%5D%5B0%5D=Nix&filter%5Bpath%5D%5B0%5D=pkgs/&q=buildBazelPackage buildBazelPackage used in nixpkgs]


[[Category:Applications]]
[[Category:Applications]]