about summary refs log tree commit diff
path: root/nix/buildBazelPackageNG/bazelRulesJavaHook/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/buildBazelPackageNG/bazelRulesJavaHook/default.nix')
-rw-r--r--nix/buildBazelPackageNG/bazelRulesJavaHook/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/buildBazelPackageNG/bazelRulesJavaHook/default.nix b/nix/buildBazelPackageNG/bazelRulesJavaHook/default.nix
new file mode 100644
index 000000000000..38edcccaa59c
--- /dev/null
+++ b/nix/buildBazelPackageNG/bazelRulesJavaHook/default.nix
@@ -0,0 +1,9 @@
+{ makeSetupHook }:
+
+makeSetupHook
+{
+  name = "rules_java_bazel_hook";
+  substitutions = {
+    local_java = ./local_java;
+  };
+} ./setup-hook.sh