···38 runHook preInstall
3940 for exe in "pdf-sign" "pdf-create-empty" "pdf-from-text"; do
41- install -Dm755 $exe -t $out/bin
42- wrapProgram $out/bin/$exe --prefix PATH : ${binPath}
00043 done
4445 runHook postInstall
···38 runHook preInstall
3940 for exe in "pdf-sign" "pdf-create-empty" "pdf-from-text"; do
41+ # Install wrapped programs into $out/lib so that they are not renamed.
42+ # Renaming them, like wrapProgram does, would produce the wrong output
43+ # from `--help`.
44+ install -Dm755 $exe -t $out/lib
45+ makeWrapper $out/lib/$exe $out/bin/$exe --prefix PATH : ${binPath}
46 done
4748 runHook postInstall