nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

apfel: fix build on aarch64-darwin

authored by

Weijia Wang and committed by
Dmitry Kalinkin
d3e16830 d96a2451

+5 -2
+5 -2
pkgs/development/libraries/physics/apfel/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, gfortran, lhapdf, python3, zlib }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, gfortran, lhapdf, python3, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "apfel"; ··· 11 11 sha256 = "sha256-fRdJ+C92tEC75iUwP9Tmm/EswrlA52eUo5fBjfieH9o="; 12 12 }; 13 13 14 + # needed for aarch64-darwin 15 + nativeBuildInputs = [ autoreconfHook ]; 16 + 14 17 buildInputs = [ gfortran lhapdf python3 zlib ]; 15 18 16 19 enableParallelBuilding = true; 17 20 18 21 meta = with lib; { 19 22 description = "A PDF Evolution Library"; 20 - license = licenses.gpl3; 23 + license = licenses.gpl3Plus; 21 24 homepage = "https://apfel.mi.infn.it/"; 22 25 platforms = platforms.unix; 23 26 maintainers = with maintainers; [ veprbl ];