about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2023-01-21 15:34:32 -0700
committerGitHub <noreply@github.com>2023-01-21 17:34:32 -0500
commit786f0f2fcb27bc3795df5c300d7c0641b62c0df6 (patch)
tree80dce4c6dcdb2c9a43e6e7c129f2471f133e2ab6
parent66ed9c811ea3f2a49443b8788b07244d9d982348 (diff)
downloadnixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.tar
nixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.tar.gz
nixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.tar.bz2
nixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.tar.lz
nixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.tar.xz
nixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.tar.zst
nixlib-786f0f2fcb27bc3795df5c300d7c0641b62c0df6.zip
texlive: disable luajit on RISC-V (#211999)
Support is not yet there
-rw-r--r--pkgs/tools/typesetting/tex/texlive/bin.nix3
1 files changed, 2 insertions, 1 deletions
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;