From 786f0f2fcb27bc3795df5c300d7c0641b62c0df6 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sat, 21 Jan 2023 15:34:32 -0700 Subject: [PATCH] texlive: disable luajit on RISC-V (#211999) Support is not yet there --- pkgs/tools/typesetting/tex/texlive/bin.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index baf6fcc6873b..6876e4090074 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -53,7 +53,8 @@ let ''; }; - withLuaJIT = !(stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit); + # RISC-V: https://github.com/LuaJIT/LuaJIT/issues/628 + withLuaJIT = !(stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) && !stdenv.hostPlatform.isRiscV; in rec { # un-indented inherit (common) cleanBrokenLinks;