We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 199d21a + 12b7076 commit c46d43cCopy full SHA for c46d43c
pkgs/by-name/pd/pdf-sign/package.nix
@@ -38,8 +38,11 @@ stdenv.mkDerivation {
38
runHook preInstall
39
40
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}
+ # Install wrapped programs into $out/lib so that they are not renamed.
+ # 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
47
48
runHook postInstall
0 commit comments