diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-01-05 18:44:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 12:44:22 -0500 |
commit | 5e8b7993b9dda4990215d983b6d2cc93ae8766d8 (patch) | |
tree | 09db7f691985899f354bc7477893715bd04aeef6 | |
parent | 9be23ea41a1f30d0ba36d91c9279df9f003e1e23 (diff) |
nlojet: unbreak on aarch64-darwin (#209016)
-rw-r--r-- | pkgs/development/libraries/physics/nlojet/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/physics/nlojet/default.nix b/pkgs/development/libraries/physics/nlojet/default.nix index 7c7753ff6591b..e7ecefb59c245 100644 --- a/pkgs/development/libraries/physics/nlojet/default.nix +++ b/pkgs/development/libraries/physics/nlojet/default.nix @@ -13,13 +13,14 @@ stdenv.mkDerivation rec { ./nlojet_clang_fix.patch ]; + # error: no member named 'finite' in the global namespace; did you mean simply 'finite'? + NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite"; + meta = { homepage = "http://www.desy.de/~znagy/Site/NLOJet++.html"; license = lib.licenses.gpl2; description = "Implementation of calculation of the hadron jet cross sections"; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ veprbl ]; - # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.isDarwin && stdenv.isAarch64; }; } |