diff --git a/pkgs/development/interpreters/luajit/openresty.nix b/pkgs/development/interpreters/luajit/openresty.nix index c8bf0cfd50e8..2321f87f524e 100644 --- a/pkgs/development/interpreters/luajit/openresty.nix +++ b/pkgs/development/interpreters/luajit/openresty.nix @@ -15,5 +15,17 @@ callPackage ./default.nix rec { hash = "sha256-SICmM+/dvp/36UAWAH0l7D938iFDimnoKBOjlOodrCY="; }; + extraMeta = { + badPlatforms = [ + "loongarch64-linux" # See https://github.com/LuaJIT/LuaJIT/issues/1278 + "riscv64-linux" # See https://github.com/LuaJIT/LuaJIT/issues/628 + # 64-bit POWER (LE and BE, either ELF ABI version on the latter) *is* supported, but ELFv1 powerpc64-linux has an + # issue with memory allocation + # https://github.com/openresty/luajit2/issues/258 + # Both BE ABI versions use the same double though, so would have to inspect stdenv to differentiate. + "powerpc64-linux" + ]; + }; + inherit self passthruFun; }