lean4: fix build on darwin
This commit is contained in:
parent
ce956d54ca
commit
b9a67f7317
1 changed files with 5 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue