summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2021-12-09 23:24:13 +0200
committerGitHub <noreply@github.com>2021-12-09 23:24:13 +0200
commitceffea674d8dbe774f451a12fe472a30cc06254f (patch)
tree984143535045f57eca06c9a7e808bc342921a328 /doc
parentbdaa0e2930b71c80ea34fe09ff4f1b1ea8f7ca34 (diff)
Small rephrase of wrapProgram documentation
Co-authored-by: Julian Stecklina <js@alien8.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/stdenv/stdenv.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index 29987e3d3081..79ae4b2b34aa 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -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.