mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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=";
|
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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user