nlojet: unbreak on aarch64-darwin (#209016)

authored by Weijia Wang and committed by GitHub 5e8b7993 9be23ea4

+3 -2
+3 -2
pkgs/development/libraries/physics/nlojet/default.nix
··· 13 ./nlojet_clang_fix.patch 14 ]; 15 16 meta = { 17 homepage = "http://www.desy.de/~znagy/Site/NLOJet++.html"; 18 license = lib.licenses.gpl2; 19 description = "Implementation of calculation of the hadron jet cross sections"; 20 platforms = lib.platforms.unix; 21 maintainers = with lib.maintainers; [ veprbl ]; 22 - # never built on aarch64-darwin since first introduction in nixpkgs 23 - broken = stdenv.isDarwin && stdenv.isAarch64; 24 }; 25 }
··· 13 ./nlojet_clang_fix.patch 14 ]; 15 16 + # error: no member named 'finite' in the global namespace; did you mean simply 'finite'? 17 + NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite"; 18 + 19 meta = { 20 homepage = "http://www.desy.de/~znagy/Site/NLOJet++.html"; 21 license = lib.licenses.gpl2; 22 description = "Implementation of calculation of the hadron jet cross sections"; 23 platforms = lib.platforms.unix; 24 maintainers = with lib.maintainers; [ veprbl ]; 25 }; 26 }