tests/lean: disable lean tests on x86_64-darwin

https://github.com/NixOS/nixpkgs/pull/371275
This commit is contained in:
Gaetan Lepage 2025-01-09 14:51:01 +01:00
parent bca43a2a8e
commit 67de84848e

View file

@ -1,4 +1,12 @@
{
{ lib, pkgs, ... }:
let
platform = pkgs.stdenv.hostPlatform;
# TODO: `cadical`, one of `lean4`'s dependencies is broken on x86_64-darwin
# https://github.com/NixOS/nixpkgs/pull/371275
doRun = !(platform.isDarwin && platform.isx86_64);
in
lib.optionalAttrs doRun {
empty = {
plugins.lean.enable = true;
};