libtommath: unbreak on aarch64-darwin

This commit is contained in:
Weijia Wang 2023-01-04 11:11:14 +01:00 committed by Rick van Schijndel
parent 2520a38d69
commit 0bc8e25344

View File

@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
makefile = "makefile.shared";
NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-DTARGET_OS_IPHONE=0";
enableParallelBuilding = true;
meta = with lib; {
@ -31,7 +33,5 @@ stdenv.mkDerivation rec {
description = "A library for integer-based number-theoretic applications";
license = with licenses; [ publicDomain wtfpl ];
platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}