poke: fix aarch64-darwin build

jiegec discovered that the reason the aarch64-darwin build was failing
was because pre-generated configure script failed to detect the macOS
version.

With this change we'll just ignore the pre-generated configure script,
and build it ourself with autoreconf.
This commit is contained in:
Kira Bruneau 2022-08-03 09:40:42 -04:00
parent f310f24f0d
commit 952c5269b3

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, autoreconfHook
, gettext
, help2man
, pkg-config
@ -40,6 +41,7 @@ in stdenv.mkDerivation rec {
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
gettext
pkg-config
texinfo
@ -108,7 +110,6 @@ in stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres kira-bruneau ];
platforms = platforms.unix;
broken = stdenv.isDarwin && stdenv.isAarch64; # Undefined symbols for architecture arm64
};
}