Skip to content

Commit

Permalink
Merge pull request #214090 from uri-canva/remove-old-bazel
Browse files Browse the repository at this point in the history
bazel_3: remove
  • Loading branch information
uri-canva authored Feb 2, 2023
2 parents 30a3209 + 81dc5ee commit c6f0c21
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 1,567 deletions.
628 changes: 0 additions & 628 deletions pkgs/development/tools/build-managers/bazel/bazel_3/default.nix

This file was deleted.

24 changes: 0 additions & 24 deletions pkgs/development/tools/build-managers/bazel/bazel_3/gcc11.patch

This file was deleted.

34 changes: 0 additions & 34 deletions pkgs/development/tools/build-managers/bazel/bazel_3/no-arc.patch

This file was deleted.

861 changes: 0 additions & 861 deletions pkgs/development/tools/build-managers/bazel/bazel_3/src-deps.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
# this package (through the fixpoint glass)
, bazel_self
# needed only for the updater
, bazel_3
, lr, xe, zip, unzip, bash, writeCBin, coreutils
, which, gawk, gnused, gnutar, gnugrep, gzip, findutils
# updater
Expand Down Expand Up @@ -364,7 +362,7 @@ stdenv.mkDerivation rec {
#!${runtimeShell}
(cd "${src_for_updater}" &&
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
"${bazel_3}"/bin/bazel \
"${bazel_self}"/bin/bazel \
query 'kind(http_archive, //external:all) + kind(http_file, //external:all) + kind(distdir_tar, //external:all) + kind(git_repository, //external:all)' \
--loading_phase_threads=1 \
--output build) \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
# this package (through the fixpoint glass)
, bazel_self
# needed only for the updater
, bazel_4
, lr, xe, zip, unzip, bash, writeCBin, coreutils
, which, gawk, gnused, gnutar, gnugrep, gzip, findutils
# updater
Expand Down Expand Up @@ -326,7 +324,7 @@ stdenv.mkDerivation rec {
#!${runtimeShell}
(cd "${src_for_updater}" &&
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
"${bazel_4}"/bin/bazel \
"${bazel_self}"/bin/bazel \
query 'kind(http_archive, //external:all) + kind(http_file, //external:all) + kind(distdir_tar, //external:all) + kind(git_repository, //external:all)' \
--loading_phase_threads=1 \
--output build) \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
# this package (through the fixpoint glass)
, bazel_self
# needed only for the updater
, bazel_4
, lr, xe, zip, unzip, bash, writeCBin, coreutils
, which, gawk, gnused, gnutar, gnugrep, gzip, findutils
# updater
Expand Down Expand Up @@ -336,7 +334,7 @@ stdenv.mkDerivation rec {
#!${runtimeShell}
(cd "${src_for_updater}" &&
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
"${bazel_4}"/bin/bazel \
"${bazel_self}"/bin/bazel \
query 'kind(http_archive, //external:all) + kind(http_file, //external:all) + kind(distdir_tar, //external:all) + kind(git_repository, //external:all)' \
--loading_phase_threads=1 \
--output build) \
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ mapAliases ({
bazel_0_27 = throw "bazel 0.27 is past end of life as it is not an lts version"; # Added 2022-05-09
bazel_0_29 = throw "bazel 0.29 is past end of life as it is not an lts version"; # Added 2022-05-09
bazel_1 = throw "bazel 1 is past end of life as it is not an lts version"; # Added 2022-05-09
bazel_3 = throw "bazel 3 is past end of life as it is not an lts version"; # Added 2023-02-02
bcat = throw "bcat has been removed because upstream is dead"; # Added 2021-08-22
beetsExternalPlugins = throw "beetsExternalPlugins has been deprecated, use beetsPackages.$pluginname"; # Added 2022-05-07
beret = throw "beret has been removed"; # Added 2021-11-16
Expand Down
12 changes: 1 addition & 11 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17093,17 +17093,7 @@ with pkgs;

bam = callPackage ../development/tools/build-managers/bam {};

bazel = bazel_3;

bazel_3 = callPackage ../development/tools/build-managers/bazel/bazel_3 {
inherit (darwin) cctools;
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Foundation;
buildJdk = jdk11_headless;
buildJdkName = "java11";
runJdk = jdk11_headless;
stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
bazel_self = bazel_3;
};
bazel = bazel_6;

bazel_4 = callPackage ../development/tools/build-managers/bazel/bazel_4 {
inherit (darwin) cctools;
Expand Down

0 comments on commit c6f0c21

Please sign in to comment.