Yves-Stan Le Cornec
c6909daf0e
bazel_5: use correct bazel version for tests
...
`bazel_self` is the current package. If we do not specify it explicitly when defining tests then Bazel 3 is used by default.
2022-06-24 17:37:20 +02:00
Yves-Stan Le Cornec
384035c4cf
bazel_4: use correct bazel version for tests
...
`bazel_self` is the current package. If we do not specify it explicitly when defining tests then Bazel 3 is used by default.
2022-06-24 17:34:47 +02:00
Yves-Stan Le Cornec
ad5f4abb9c
bazel_5: remove unnecessary buildInputs from tests
...
Now that PATH dependencies are provided via a wrapper, these buildInputs become unnecessary
2022-06-24 17:26:05 +02:00
Yves-Stan Le Cornec
934ad0d729
bazel_4: remove unnecessary buildInputs from tests.
...
Now that PATH dependencies are provided via a wrapper, these buildInputs become unnecessary
2022-06-24 17:23:11 +02:00
Yves-Stan Le Cornec
aa06cc8b9a
bazel_5: wraps bazel to add default runtime dependencies to PATH
...
Bazel requires basic runtime dependencies in the PATH for repository rules and genrules. When `which` is missing in particular, it can lead to misleading error messages.
2022-06-13 11:35:54 +02:00
Yves-Stan Le Cornec
14dcb2c929
bazel_4: wraps bazel to add default runtime dependencies to PATH
...
Bazel requires basic runtime dependencies in the PATH for repository rules and genrules. When `which` is missing in particular, it can lead to misleading error messages.
2022-06-13 11:35:18 +02:00
Robert Scott
3b6bc4b69c
treewide: set sourceProvenance for packages containing downloaded jars
...
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
Uri Baghin
b5d30ae3a3
bazel_0, bazel_0_26, bazel_0_29, bazel_1: remove
2022-05-09 17:08:33 +10:00
Vladimír Čunát
9478ec747c
Merge branch 'staging-next-2022-04-23'
...
Close #169965 : the PR and real 'staging-next' branch contained
extra systemd rebuild that I wanted to avoid in this iteration.
(to save Hydra's work)
2022-05-02 09:12:51 +02:00
Uri Baghin
fb879fa935
Merge pull request #170218 from uri-canva/no-debug-spam
...
bazel_4, bazel_5: disable sandbox debug
2022-05-02 16:21:05 +10:00
github-actions[bot]
4a997ba4a6
Merge master into staging-next
2022-04-26 00:02:23 +00:00
Uri Baghin
8342425cb0
bazel_4, bazel_5: disable sandbox debug
2022-04-25 17:53:43 +10:00
R. Ryantm
16dc611f05
bazel-remote: 2.3.6 -> 2.3.7
2022-04-25 02:16:04 +00:00
github-actions[bot]
6a14b5834e
Merge master into staging-next
2022-04-25 00:02:35 +00:00
Timo Kaufmann
3c632ea1f6
Merge pull request #170073 from uri-canva/remove
...
python3Packages.dm-sonnet, python3Packages.graph_nets: remove
2022-04-24 21:23:46 +02:00
github-actions[bot]
b9e4b22843
Merge master into staging-next
2022-04-24 12:01:14 +00:00
Uri Baghin
31ed8a5745
python3Packages.dm-sonnet, python3Packages.graph_nets: remove
2022-04-24 19:38:18 +10:00
Uri Baghin
c3a0ba0b11
Merge pull request #169703 from r-ryantm/auto-update/bazel-buildtools
...
bazel-buildtools: 5.0.1 -> 5.1.0
2022-04-24 17:23:41 +10:00
github-actions[bot]
fddf656b60
Merge master into staging-next
2022-04-23 18:01:13 +00:00
betaboon
51114edb8f
bazel_3: fix build with gcc11
2022-04-22 19:21:15 +02:00
R. Ryantm
f3d888fc30
bazel-buildtools: 5.0.1 -> 5.1.0
2022-04-22 06:06:30 +00:00
Ben Siraphob
259fa13d53
treewide: remove nativeBuildInputs that are in stdenv
2022-04-16 21:46:46 +03:00
Vladimír Čunát
d5d94127fd
Merge branch 'staging-next' into staging
...
Minor conflicts; I hope I didn't mess up:
pkgs/development/tools/misc/binutils/default.nix
pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
betaboon
8c5ed979be
bazel_5: 5.0.0 -> 5.1.1
2022-04-13 12:53:42 +02:00
Ben Siraphob
ed863440b8
Merge pull request #163924 from OPNA2608/fix/autoPatchelfHook_isLinux
2022-03-26 16:01:56 -05:00
OPNA2608
d2f268745a
treewide: autoPatchelfHook only on Linux
2022-03-23 21:37:39 +01:00
R. Ryantm
03aee6a526
bazel-remote: 2.3.5 -> 2.3.6
2022-03-17 03:09:27 +00:00
R. Ryantm
8977f6379b
bazel-remote: 2.3.4 -> 2.3.5
2022-03-16 00:01:05 +00:00
R. Ryantm
0a4f8a4984
bazel-remote: 2.3.3 -> 2.3.4
2022-02-24 02:08:19 +00:00
R. Ryantm
f018a19f79
bazel-buildtools: 5.0.0 -> 5.0.1
2022-02-12 01:28:50 +00:00
R. Ryantm
e215391451
bazel-buildtools: 4.2.5 -> 5.0.0
2022-02-11 12:49:23 +00:00
Uri Baghin
2b1e0f392c
Merge pull request #155949 from gbpdt/fix/bazel_runtime_deps
...
bazel_3, bazel_4: Explicitly add a dependency on bazel-rc
2022-02-07 21:44:30 +11:00
Felix Buehler
e67ee13da7
treewide: rename name to pname&version
2022-02-01 23:01:51 +01:00
zowoq
45bd0fd536
bazel-remote: update vendorSha256
2022-01-31 13:41:40 +10:00
Uri Baghin
4ff1e8deaf
Merge pull request #156110 from r2r-dev/init-bazel_5
...
bazel_5: init at 5.0.0
2022-01-26 11:14:47 +11:00
r2r-dev
ed55d1f607
bazel_5: Explicitly add a dependency on bazel-rc
...
Co-authored-by: Uri Baghin <uri@canva.com>
2022-01-25 12:23:48 +01:00
r2r-dev
e1a28002a3
bazel_5: Build xcode-locator selectively for x86_64 (on "x86_64-darwin") or arm64 (on "aarch64-darwin")
2022-01-25 02:44:32 +01:00
r2r-dev
04500fd3a2
bazel_5: Build xcode-locator as a universal binary only on "aarch64-darwin"
2022-01-25 01:51:29 +01:00
r2r-dev
6cd1a18620
bazel_5:
...
- do not build xcode-locator as universal binary
- disable layering_check feature preventing grpc from compiling on darwin
2022-01-25 00:01:11 +01:00
R. Ryantm
fff9730ce0
bazel-buildtools: 4.2.4 -> 4.2.5
2022-01-23 22:06:48 +00:00
r2r-dev
a8de70bcc6
bazel_5: removed trailing spaces
...
Co-authored-by: divanorama <divanorama@gmail.com>
2022-01-23 14:46:12 +01:00
r2r-dev
a3de5e71f9
bazel_5: remove patching of tools/xcode/realpath/BUILD and tools/xcode/stdredirect/BUILD in darwinPatches as these files do not exist anymore
2022-01-22 14:19:16 +01:00
r2r-dev
eeede61892
bazel_5: init at 5.0.0
...
Bazel 5 is going to be a second long term support release.
Changes from bazel_4:
- compile java_tools (such as ijar) using nix-provided jdk
- local jvm and jdk are now passed using --tool_java_runtime_version, --tool_java_runtime_version and --extra_toolchains flags
see https://docs.bazel.build/versions/5.0.0/bazel-and-java.html for details
- update-srcDeps.py: distdir_tar function renamed to _distdir_tar to properly parse bazel query output executed against bazel 5 sources
- bazel_5.updater: uses bazel_4 to generate src-deps.json. This change was required to handle json.decode calls in bazel 5 dependencies
- protobuf-test and java-test adjusted to take into consideration both jdk 8 (for Bazel < 5.0.0) and jdk 11 (for Bazel >= 5.0.0)
https://blog.bazel.build/2022/01/19/bazel-5.0.html
https://github.com/bazelbuild/bazel/releases/tag/5.0.0
2022-01-22 10:23:04 +01:00
Graham Bennett
eda51e3ea8
bazel_3, bazel_4: Explicitly add a dependency on bazel-rc
...
This resolves an issue where the path to the bazel-rc file is sometimes
optimised so the full hash is not present, and hence not picked up by
the scan as a runtime dependency.
2022-01-20 21:06:40 +00:00
Matthieu Coudron
c1220ff9b0
bazel_4: dont propagate absl-py ( #153779 )
...
otherwise bazel pollutes PYTHONPATH and if it's just necessary to generate the fish completion then we dont need to propagate it
2022-01-07 01:43:10 -05:00
R. Ryantm
ee250452c4
bazel-remote: 2.3.1 -> 2.3.3
2021-12-27 01:39:10 +00:00
R. Ryantm
8ff4f43381
bazel-remote: 2.3.0 -> 2.3.1
2021-12-24 01:35:09 +00:00
Uri Baghin
72e45af374
Merge pull request #151503 from timothyklim/bazel-4.2.2
...
bazel_4: 4.2.1 -> 4.2.2
2021-12-21 16:02:06 +11:00
Timothy
13c152bb1c
bazel_4: 4.2.1 -> 4.2.2
2021-12-21 10:19:05 +07:00
Uri Baghin
d2a93c1fc1
Merge pull request #146389 from ylecornec/ylecornec/bazel_bash_fix
...
Consistent PATH between ctx.actions.run and ctx.actions.run_shell
2021-12-20 10:00:16 +11:00