bazel_7: rename: nix-hacks.patch -> nix-build-bazel-package-hacks.patch

This commit is contained in:
Dmitry Ivankov 2024-11-17 12:13:06 +01:00
parent c499a0d6cd
commit fb2deacbba
2 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@
# Allow to independently override the jdks used to build and run respectively
buildJdk,
runJdk,
# Toggle for hacks for running bazel under buildBazelPackage:
# Always assume all markers valid (this is needed because we remove markers; they are non-deterministic).
# Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers).
enableNixHacks ? false,
@ -392,7 +393,7 @@ stdenv.mkDerivation rec {
})
]
# See enableNixHacks argument above.
++ lib.optional enableNixHacks ./nix-hacks.patch;
++ lib.optional enableNixHacks ./nix-build-bazel-package-hacks.patch;
postPatch =
let