Merge pull request #269383 from marsam/fix-lean4-darwin

lean4: fix build on darwin
This commit is contained in:
Robert Scott 2023-11-23 23:41:07 +00:00 committed by GitHub
commit 1772211005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,6 +48,11 @@ stdenv.mkDerivation rec {
"-DUSE_GITHASH=OFF"
];
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
};
meta = with lib; {
description = "Automatic and interactive theorem prover";
homepage = "https://leanprover.github.io/";