bazel_7: remove all-packages.nix definition

This commit is contained in:
Michael Daniels
2025-12-26 19:42:19 -05:00
parent 0c37b83296
commit e49c019252
2 changed files with 7 additions and 12 deletions
+7 -5
View File
@@ -12,7 +12,8 @@
buildFHSEnv,
# this package (through the fixpoint glass)
# TODO probably still need for tests at some point
bazel_self,
bazel_7,
bazel_self ? bazel_7,
# native build inputs
runtimeShell,
zip,
@@ -35,10 +36,11 @@
# Apple dependencies
cctools,
libtool,
sigtool,
darwin,
# Allow to independently override the jdks used to build and run respectively
buildJdk,
runJdk,
jdk21_headless,
buildJdk ? jdk21_headless,
runJdk ? jdk21_headless,
# 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).
@@ -417,7 +419,7 @@ stdenv.mkDerivation rec {
# don't use system installed Xcode to run clang, use Nix clang instead
sed -i -E \
-e "s;/usr/bin/xcrun (--sdk macosx )?clang;${stdenv.cc}/bin/clang $NIX_CFLAGS_COMPILE $(bazelLinkFlags) -framework CoreFoundation;g" \
-e "s;/usr/bin/codesign;CODESIGN_ALLOCATE=${cctools}/bin/${cctools.targetPrefix}codesign_allocate ${sigtool}/bin/codesign;" \
-e "s;/usr/bin/codesign;CODESIGN_ALLOCATE=${cctools}/bin/${cctools.targetPrefix}codesign_allocate ${darwin.sigtool}/bin/codesign;" \
scripts/bootstrap/compile.sh \
tools/osx/BUILD
-7
View File
@@ -5923,13 +5923,6 @@ with pkgs;
bazel = bazel_7;
bazel_7 = callPackage ../by-name/ba/bazel_7/package.nix {
inherit (darwin) sigtool;
buildJdk = jdk21_headless;
runJdk = jdk21_headless;
bazel_self = bazel_7;
};
buildifier = bazel-buildtools;
buildozer = bazel-buildtools;
unused_deps = bazel-buildtools;