basiliskii: fix build on aarch64-linux

This commit is contained in:
Martin Weinelt 2022-11-19 15:55:12 +01:00
parent 3c5cc34fac
commit 6957c60714
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, pkg-config, SDL2, gtk2 }: { stdenv, lib, fetchFromGitHub, autoconf, automake, pkg-config, SDL2, gtk2, mpfr }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "basiliskii"; pname = "basiliskii";
version = "unstable-2022-09-30"; version = "unstable-2022-09-30";
@ -12,7 +12,7 @@ stdenv.mkDerivation {
sourceRoot = "source/BasiliskII/src/Unix"; sourceRoot = "source/BasiliskII/src/Unix";
patches = [ ./remove-redhat-6-workaround-for-scsi-sg.h.patch ]; patches = [ ./remove-redhat-6-workaround-for-scsi-sg.h.patch ];
nativeBuildInputs = [ autoconf automake pkg-config ]; nativeBuildInputs = [ autoconf automake pkg-config ];
buildInputs = [ SDL2 gtk2 ]; buildInputs = [ SDL2 gtk2 mpfr ];
preConfigure = '' preConfigure = ''
NO_CONFIGURE=1 ./autogen.sh NO_CONFIGURE=1 ./autogen.sh
''; '';