tools/run_bazel: allow running bazel inside nix-shell without entering
nix-shell does not support arguments for an application running inside
a FHS environment. This adds a workaround by keeping the command inside
an environment variable and executing it if set. If it doesnt exist, we
fall back to our bash shell.
Change-Id: I7fd53f9c14019179490af4b9af3b0b16b3d70297
Reviewed-on: https://review.monogon.dev/c/monogon/+/2066
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/.gitignore b/.gitignore
index bee0a77..1928294 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
.bazelrc.user
.bazelrc.sandbox
.bazeldnf
+.direnv
\ No newline at end of file