lean4, leanPackages.lean4: fix darwin build (#528202)

This commit is contained in:
Mauricio Collares
2026-06-05 10:59:09 +00:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
cmake,
cctools,
fetchFromGitHub,
git,
gmp,
@@ -67,7 +68,8 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
makeWrapper
leangz # Provides leantar
];
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools.libtool ];
buildInputs = [
gmp

View File

@@ -4,6 +4,7 @@
stdenv,
symlinkJoin,
cmake,
cctools,
fetchFromGitHub,
git,
gmp,
@@ -75,7 +76,8 @@ let
cmake
leangz
pkg-config
];
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools.libtool ];
buildInputs = [
gmp