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.
···1111 sha256 = "sha256-l7GUA+vlSECi/72eU3Y9COpGtLTRh3vYcHUi+uRkCn8=";
1212 };
13131414+ # remove the -arch flags which are set by default in the build
1515+ configureFlags = lib.optionals stdenv.isDarwin [
1616+ "--with-archflags=\"-mmacosx-version-min=10.14\""
1717+ ];
1818+1419 enableParallelBuilding = true;
15201621 meta = with lib; {