lol

Merge pull request #334657 from svenssonaxel/pdf-sign

pdf-sign: Fix program name in help text

authored by

Pol Dellaiera and committed by
GitHub
c46d43c6 199d21a8

+5 -2
+5 -2
pkgs/by-name/pd/pdf-sign/package.nix
··· 38 38 runHook preInstall 39 39 40 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} 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} 43 46 done 44 47 45 48 runHook postInstall