Commit 87b1ba03 authored by Vincenzo Mantova's avatar Vincenzo Mantova
Browse files

texlive.luajittex: disable binaries on unsupported platforms

parent fc04385d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+6 −1
Original line number Diff line number Diff line
{ 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" ];