Bazel: Difference between revisions

imported>Nix
m add Software/Applications subcategory
imported>Dmayle
No edit summary
Line 19: Line 19:


While there are solutions for simplifying the use of a shell.nix like direnv, lorri, and devenv, they are not compatible with a shell.nix that creates an FHS environment, since the FHS environment requires a sub-shell to properly setup the chroot, and the three tools above only support making changes to environment variables.
While there are solutions for simplifying the use of a shell.nix like direnv, lorri, and devenv, they are not compatible with a shell.nix that creates an FHS environment, since the FHS environment requires a sub-shell to properly setup the chroot, and the three tools above only support making changes to environment variables.
== 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.


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