Commit c0e8507e authored by Matthieu Moy's avatar Matthieu Moy
Browse files

auto-multiple-choice: prioritize . and the package's dir in $TEXINPUTS

A : at the start of $TEXINPUTS means LaTeX should try the standard directories
first, a : at the end means to use the standard directories as a fallback. In
case the user mixes versions of packages, there may be another
automultiplechoice.sty in the standard directories, and we don't want to use
this other one. Fix this by putting the : at the end of $TEXINPUTS.
parent e5d26a34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ stdenv.mkDerivation (finalAttrs: {
        netpbm
      ]
    } \
    --set TEXINPUTS ":.:$out/tex/latex"
    --set TEXINPUTS ".:$out/tex/latex:"
  '';

  nativeBuildInputs = [