bazel_7: remove all-packages.nix definition
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user