Commit 504a1cfc authored by Matthieu Moy's avatar Matthieu Moy
Browse files

auto-multiple-choice: build $PATH using lib.makeBinPath

As suggested by @eclairevoyant.
parent d9b104fd
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -98,7 +98,13 @@ stdenv.mkDerivation (finalAttrs: {
    ''${makeWrapperArgs[@]} \
    --prefix PERL5LIB : $out/share/perl5 \
    --prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
    --prefix PATH : "$out/bin:${ghostscript}/bin:${netpbm}/bin" \
    --prefix PATH : ${
      lib.makeBinPath [
        (placeholder "out")
        ghostscript
        netpbm
      ]
    } \
    --set TEXINPUTS ":.:$out/tex/latex"
  '';