forked from mirrors/nixpkgs
bazel-*: Consistently self reference
Using `bazel_self` for self-references makes managing bazel versions easier: their less risk of changing defaults or copy pasted code for no versions leading to incorrect self-references.
This commit is contained in:
parent
4a4b44803c
commit
6f94f8fd3f
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, callPackage, lib, fetchurl, fetchFromGitHub
|
||||
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
|
||||
# this package (through the fixpoint glass)
|
||||
, bazel_1
|
||||
, bazel_self
|
||||
, lr, xe, zip, unzip, bash, writeCBin, coreutils
|
||||
, which, gawk, gnused, gnutar, gnugrep, gzip, findutils
|
||||
# updater
|
||||
|
@ -247,7 +247,7 @@ stdenv.mkDerivation rec {
|
|||
touch $out
|
||||
'');
|
||||
|
||||
bazelWithNixHacks = bazel_1.override { enableNixHacks = true; };
|
||||
bazelWithNixHacks = bazel_self.override { enableNixHacks = true; };
|
||||
|
||||
bazel-examples = fetchFromGitHub {
|
||||
owner = "bazelbuild";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, callPackage, lib, fetchurl, fetchFromGitHub
|
||||
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
|
||||
# this package (through the fixpoint glass)
|
||||
, bazel_1
|
||||
, bazel_self
|
||||
, lr, xe, zip, unzip, bash, writeCBin, coreutils
|
||||
, which, gawk, gnused, gnutar, gnugrep, gzip, findutils
|
||||
# updater
|
||||
|
@ -247,7 +247,7 @@ stdenv.mkDerivation rec {
|
|||
touch $out
|
||||
'');
|
||||
|
||||
bazelWithNixHacks = bazel_1.override { enableNixHacks = true; };
|
||||
bazelWithNixHacks = bazel_self.override { enableNixHacks = true; };
|
||||
|
||||
bazel-examples = fetchFromGitHub {
|
||||
owner = "bazelbuild";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, callPackage, lib, fetchurl, fetchFromGitHub
|
||||
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
|
||||
# this package (through the fixpoint glass)
|
||||
, bazel
|
||||
, bazel_self
|
||||
, lr, xe, zip, unzip, bash, writeCBin, coreutils
|
||||
, which, gawk, gnused, gnutar, gnugrep, gzip, findutils
|
||||
# updater
|
||||
|
@ -246,7 +246,7 @@ stdenv.mkDerivation rec {
|
|||
touch $out
|
||||
'');
|
||||
|
||||
bazelWithNixHacks = bazel.override { enableNixHacks = true; };
|
||||
bazelWithNixHacks = bazel_self.override { enableNixHacks = true; };
|
||||
|
||||
bazel-examples = fetchFromGitHub {
|
||||
owner = "bazelbuild";
|
|
@ -9698,14 +9698,7 @@ in
|
|||
|
||||
bam = callPackage ../development/tools/build-managers/bam {};
|
||||
|
||||
bazel = callPackage ../development/tools/build-managers/bazel/bazel-latest {
|
||||
inherit (darwin) cctools;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Foundation;
|
||||
buildJdk = jdk8;
|
||||
buildJdkName = "jdk8";
|
||||
runJdk = jdk11_headless;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
|
||||
};
|
||||
bazel = bazel_2;
|
||||
|
||||
bazel_0 = bazel_0_26;
|
||||
|
||||
|
@ -9725,6 +9718,7 @@ in
|
|||
buildJdkName = "jdk8";
|
||||
runJdk = jdk11_headless;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
|
||||
bazel_self = bazel_0_29;
|
||||
};
|
||||
|
||||
bazel_1 = callPackage ../development/tools/build-managers/bazel/bazel_1 {
|
||||
|
@ -9734,6 +9728,17 @@ in
|
|||
buildJdkName = "jdk8";
|
||||
runJdk = jdk11_headless;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
|
||||
bazel_self = bazel_1;
|
||||
};
|
||||
|
||||
bazel_2 = callPackage ../development/tools/build-managers/bazel/bazel_2 {
|
||||
inherit (darwin) cctools;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation CoreServices Foundation;
|
||||
buildJdk = jdk8;
|
||||
buildJdkName = "jdk8";
|
||||
runJdk = jdk11_headless;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
|
||||
bazel_self = bazel_2;
|
||||
};
|
||||
|
||||
bazel-buildtools = callPackage ../development/tools/build-managers/bazel/buildtools { };
|
||||
|
|
Loading…
Reference in a new issue