3
0
Fork 0
forked from mirrors/nixpkgs

Small rephrase of wrapProgram documentation

Co-authored-by: Julian Stecklina <js@alien8.de>
This commit is contained in:
Doron Behar 2021-12-09 23:24:13 +02:00 committed by GitHub
parent bdaa0e2930
commit ceffea674d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -865,7 +865,7 @@ someVar=$(stripHash $name)
### `wrapProgram` \<executable\> \<makeWrapperArgs\> {#fun-wrapProgram}
Convenience function for `makeWrapper` that replaces `<\executable\>` with a wrapper that executes the original program. It takes all the same arguments as `makeWrapper`, except for `--inherit-argv0` (used by the `makeBinaryWrapper` implementation and `--argv0` (used by both `makeWrapper` and `makeBinaryWrapper` wrapper implementations).
Convenience function for `makeWrapper` that replaces `<\executable\>` with a wrapper that executes the original program. It takes all the same arguments as `makeWrapper`, except for `--inherit-argv0` (used by the `makeBinaryWrapper` implementation) and `--argv0` (used by both `makeWrapper` and `makeBinaryWrapper` wrapper implementations).
If you will apply it multiple times, it will overwrite the wrapper file and you will end up with double wrapping, which should be avoided.