texlive.luajittex: disable binaries on unsupported platforms

This commit is contained in:
Vincenzo Mantova 2023-08-28 18:27:21 +01:00
parent fc04385d8c
commit 87b1ba03db
2 changed files with 7 additions and 2 deletions

View file

@ -37,7 +37,7 @@ let
overriddenTlpdb = let
overrides = import ./tlpdb-overrides.nix {
inherit
lib bin tlpdb tlpdbxz tl
stdenv lib bin tlpdb tlpdbxz tl
installShellFiles
coreutils findutils gawk getopt ghostscript_headless gnugrep
gnumake gnupg gnused gzip ncurses perl python3 ruby zip;

View file

@ -1,4 +1,4 @@
{ lib, tlpdb, bin, tlpdbxz, tl
{ stdenv, lib, tlpdb, bin, tlpdbxz, tl
, installShellFiles
, coreutils, findutils, gawk, getopt, ghostscript_headless, gnugrep
, gnumake, gnupg, gnused, gzip, ncurses, perl, python3, ruby, zip
@ -329,6 +329,11 @@ in lib.recursiveUpdate orig rec {
#### misc
# RISC-V: https://github.com/LuaJIT/LuaJIT/issues/628
luajittex.binfiles = lib.optionals
(!(stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) && !stdenv.hostPlatform.isRiscV)
orig.luajittex.binfiles;
# tlpdb lists license as "unknown", but the README says lppl13: http://mirrors.ctan.org/language/arabic/arabi-add/README
arabi-add.license = [ "lppl13c" ];