fix: tests pass

This commit is contained in:
eric
2026-03-06 20:34:11 +01:00
parent a3591b85a5
commit 3a07d02c0d
21 changed files with 313 additions and 22 deletions

View File

@@ -28,9 +28,17 @@
system:
let
pkgs = import nixpkgs { inherit system; };
bazelDefaultArgs =
if pkgs.stdenv.hostPlatform.isDarwin then
[
"--macos_minimum_os=10.12"
"--host_macos_minimum_os=10.12"
]
else
[ ];
bazel9 = pkgs.writeShellScriptBin "bazel" ''
export USE_BAZEL_VERSION="''${USE_BAZEL_VERSION:-9.0.0}"
exec ${pkgs.bazelisk}/bin/bazelisk "$@"
exec ${pkgs.bazelisk}/bin/bazelisk ${pkgs.lib.escapeShellArgs bazelDefaultArgs} "$@"
'';
env = devshell-lib.lib.mkDevShell {
inherit system;
@@ -46,7 +54,7 @@
];
features = {
oxfmt = true;
oxfmt = false;
};
formatters = {