minixml: fix darwin build

The default configuration tries to build an intel+arm version on
darwin-aarch64 which fails, but which we don't need.
Remove the explicit architecture flags to fix the build.
This commit is contained in:
Stanisław Pitucha 2023-03-21 13:25:20 +11:00
parent 79ac6c8fda
commit 97904d5323

View File

@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-l7GUA+vlSECi/72eU3Y9COpGtLTRh3vYcHUi+uRkCn8="; sha256 = "sha256-l7GUA+vlSECi/72eU3Y9COpGtLTRh3vYcHUi+uRkCn8=";
}; };
# remove the -arch flags which are set by default in the build
configureFlags = lib.optionals stdenv.isDarwin [
"--with-archflags=\"-mmacosx-version-min=10.14\""
];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = with lib; {