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