texlivePackages.git-latexdiff: inherit top-level attribute

This commit is contained in:
Doron Behar
2025-11-24 12:21:11 +02:00
parent 5fe88ae4bd
commit c10f03f52b
2 changed files with 9 additions and 0 deletions
@@ -14,6 +14,7 @@
buildEnv,
callPackage,
ghostscript_headless,
git-latexdiff,
harfbuzz,
makeWrapper,
installShellFiles,
@@ -79,6 +80,7 @@ let
gawk
getopt
ghostscript_headless
git-latexdiff
gnugrep
gnumake
gnupg
@@ -12,6 +12,7 @@
gawk,
getopt,
ghostscript_headless,
git-latexdiff,
gnugrep,
gnumake,
gnupg,
@@ -545,6 +546,12 @@ lib.recursiveUpdate orig rec {
fi
'';
# Use top-level git-latexdiff's version and src. NOTE that this derivation is
# still different from top-level's `git-latexdiff`, due to __structuredAttrs
# enabled unconditionally. Still though this derivation produces a funcitonal
# binary.
inherit git-latexdiff;
# RISC-V: https://github.com/LuaJIT/LuaJIT/issues/628
luajittex.binfiles = lib.optionals (lib.meta.availableOn stdenv.hostPlatform luajit) orig.luajittex.binfiles;