about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-11-01 19:43:34 +0100
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-11-01 20:19:32 -0400
commitd3e16830b27fdae4cd469dd143f0a9ef857eb673 (patch)
tree5117f3f92695396ed5331d3b42f0c7e1ae746ee3 /pkgs/development/libraries
parentd96a2451b3da8f46d9996f051015b8cc3a38cf30 (diff)
apfel: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/physics/apfel/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/physics/apfel/default.nix b/pkgs/development/libraries/physics/apfel/default.nix
index 90e6bdaaf37c9..c0860d9a1baf3 100644
--- a/pkgs/development/libraries/physics/apfel/default.nix
+++ b/pkgs/development/libraries/physics/apfel/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, gfortran, lhapdf, python3, zlib }:
+{ lib, stdenv, fetchFromGitHub, autoreconfHook, gfortran, lhapdf, python3, zlib }:
 
 stdenv.mkDerivation rec {
   pname = "apfel";
@@ -11,13 +11,16 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-fRdJ+C92tEC75iUwP9Tmm/EswrlA52eUo5fBjfieH9o=";
   };
 
+  # needed for aarch64-darwin
+  nativeBuildInputs = [ autoreconfHook ];
+
   buildInputs = [ gfortran lhapdf python3 zlib ];
 
   enableParallelBuilding = true;
 
   meta = with lib; {
     description = "A PDF Evolution Library";
-    license     = licenses.gpl3;
+    license     = licenses.gpl3Plus;
     homepage    = "https://apfel.mi.infn.it/";
     platforms   = platforms.unix;
     maintainers = with maintainers; [ veprbl ];