forked from mirrors/nixpkgs
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:
parent
79ac6c8fda
commit
97904d5323
|
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
|||
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;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue