diff --git a/pkgs/development/interpreters/luajit/default.nix b/pkgs/development/interpreters/luajit/default.nix index d1211ce0a9283..de5153d1cd8a0 100644 --- a/pkgs/development/interpreters/luajit/default.nix +++ b/pkgs/development/interpreters/luajit/default.nix @@ -120,8 +120,10 @@ stdenv.mkDerivation rec { homepage = "https://luajit.org/"; license = licenses.mit; platforms = platforms.linux ++ platforms.darwin; - # See https://github.com/LuaJIT/LuaJIT/issues/628 - badPlatforms = [ "riscv64-linux" "riscv64-linux" ]; + badPlatforms = [ + "riscv64-linux" "riscv64-linux" # See https://github.com/LuaJIT/LuaJIT/issues/628 + "powerpc64le-linux" # `#error "No support for PPC64"` + ]; maintainers = with maintainers; [ thoughtpolice smironov vcunat lblasc ]; } // extraMeta; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9df56d2890b7b..2553e8fc732e9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33054,7 +33054,7 @@ with pkgs; wrapNeovim = neovim-unwrapped: lib.makeOverridable (neovimUtils.legacyWrapper neovim-unwrapped); neovim-unwrapped = callPackage ../applications/editors/neovim { CoreServices = darwin.apple_sdk.frameworks.CoreServices; - lua = if (stdenv.hostPlatform.isRiscV64 || stdenv.hostPlatform.isRiscV64) then lua5_1 else luajit; + lua = if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1; }; neovimUtils = callPackage ../applications/editors/neovim/utils.nix {