Commit Graph

322 Commits

Author SHA1 Message Date
Uri Baghin
7ce637bc99 bazel_5: fix sandbox 2022-09-20 14:01:39 +10:00
Dmitry Kalinkin
4922ed06b0
bazel: patch to fix for darwin sandbox 2022-09-11 12:51:48 -04:00
Uri Baghin
a6e347fb29
Merge pull request #186106 from layus/bazel-update
bazel_6: init with a WIP implem
2022-09-03 00:27:09 +10:00
Guillaume Maudoux
b4f4f49331 bazel_6: Cleanup leftover comments 2022-09-02 12:54:36 +02:00
R. Ryantm
7d03836dae bazel-remote: 2.3.8 -> 2.3.9 2022-09-01 07:34:29 +00:00
Uri Baghin
69c21d5bff bazel_6: fix darwin build 2022-08-23 19:24:07 +10:00
Guillaume Maudoux
095a37e13e bazel_6: Working fix for java toolchain on linux 2022-08-16 12:04:27 +02:00
Guillaume Maudoux
fff3c3b7a7 WIP v2 2022-08-12 17:04:44 +02:00
Guillaume Maudoux
882d0a3b7a bazel_6: init with a WIP implem 2022-08-11 15:33:28 +02:00
Claudio Bley
0917e34967 bazel_{3,4,5}: Use arm64 as arch suffix on aarch64
The official bazel wrapper script uses `$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m)`
as the `os-arch` suffix.

On aarch64 Darwin, `uname -m` returns "arm64", on aarch64 Linux it returns "aarch64".
2022-08-01 06:39:12 +02:00
Uri Baghin
75d6a6a7fb bazel_5: get libtool from path
We're resolving most cc toolchain tools from the path and environment variables, but we hardcode libtool. This makes it hard to point libtool to the specific one you need, for example to work around issues like
https://github.com/NixOS/nixpkgs/pull/180251#issuecomment-1200096413. Make it consistent by getting libtool from path too, like other cc toolchain tools.
2022-07-30 17:32:28 +10:00
R. Ryantm
4a706341b1 bazel-remote: 2.3.7 -> 2.3.8 2022-07-08 03:50:06 +00:00
Michael Davis
7c3d4d3af8
bazel: 5.1.1 -> 5.2.0 2022-06-27 15:44:14 -05:00
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