From 9eb1e4688c8ab64d5f43f43ce4b889fae8c04584 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Tue, 3 Dec 2024 12:01:30 +0100 Subject: [PATCH] Add bazelignore patch for rules_nixpkgs_nodejs --- MODULE.bazel | 7 +++++++ rules_nixpkgs_nodejs-bazelignore.patch | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 rules_nixpkgs_nodejs-bazelignore.patch diff --git a/MODULE.bazel b/MODULE.bazel index 8dba7014a..d97a6ff6a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -153,6 +153,13 @@ bazel_dep( version = "0.12.0", dev_dependency = True, ) +single_version_override( + module_name = "rules_nixpkgs_nodejs", + patch_strip = 2, + patches = [ + "rules_nixpkgs_nodejs-bazelignore.patch", + ], +) non_module_dev_deps = use_extension( "//:non_module_dev_deps.bzl", diff --git a/rules_nixpkgs_nodejs-bazelignore.patch b/rules_nixpkgs_nodejs-bazelignore.patch new file mode 100644 index 000000000..44a61b1c9 --- /dev/null +++ b/rules_nixpkgs_nodejs-bazelignore.patch @@ -0,0 +1,8 @@ +diff --git a/toolchains/nodejs/.bazelignore b/toolchains/nodejs/.bazelignore +index a61f183..18a7578 100644 +--- a/toolchains/nodejs/.bazelignore ++++ b/toolchains/nodejs/.bazelignore +@@ -1,2 +1,2 @@ +-bazel-* ++bazel-nodejs + testing