From e0e6444e5058a9de3d555df5be9dc15e52b9a924 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Wed, 9 Nov 2022 00:58:56 +0100 Subject: [PATCH] boinc: unbreak on aarch64-linux --- .../science/misc/boinc/default.nix | 52 +++++++++++++++---- 1 file changed, 42 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix index aa7431504add..641e5a8997b5 100644 --- a/pkgs/applications/science/misc/boinc/default.nix +++ b/pkgs/applications/science/misc/boinc/default.nix @@ -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 ]; }; }