boinc: unbreak on aarch64-linux

This commit is contained in:
Weijia Wang 2022-11-09 00:58:56 +01:00
parent 7f0b7f4cf3
commit e0e6444e50

View file

@ -1,6 +1,28 @@
{ fetchFromGitHub, lib, stdenv, autoconf, automake, pkg-config, m4, curl,
libGLU, libGL, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil,
sqlite, gtk2, patchelf, libXScrnSaver, libnotify, libX11, libxcb }:
{ fetchFromGitHub
, lib
, stdenv
, autoconf
, automake
, pkg-config
, m4
, curl
, libGLU
, libGL
, libXmu
, libXi
, freeglut
, libjpeg
, libtool
, wxGTK32
, xcbutil
, sqlite
, gtk3
, patchelf
, libXScrnSaver
, libnotify
, libX11
, libxcb
}:
let
majorVersion = "7.20";
@ -22,8 +44,22 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ libtool automake autoconf m4 pkg-config ];
buildInputs = [
curl libGLU libGL libXmu libXi freeglut libjpeg wxGTK30 sqlite gtk2 libXScrnSaver
libnotify patchelf libX11 libxcb xcbutil
curl
libGLU
libGL
libXmu
libXi
freeglut
libjpeg
wxGTK32
sqlite
gtk3
libXScrnSaver
libnotify
patchelf
libX11
libxcb
xcbutil
];
NIX_LDFLAGS = "-lX11";
@ -45,11 +81,7 @@ stdenv.mkDerivation rec {
description = "Free software for distributed and grid computing";
homepage = "https://boinc.berkeley.edu/";
license = licenses.lgpl2Plus;
platforms = platforms.linux; # arbitrary choice
# checking for gcc options needed to detect all undeclared functions... cannot detect
# configure: error: in `/build/boinc-7.18.1-src':
# configure: error: cannot make gcc report undeclared builtins
broken = stdenv.isAarch64;
platforms = platforms.linux;
maintainers = with maintainers; [ Luflosi ];
};
}