summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2021-10-19 17:33:02 +0300
committerDoron Behar <doron.behar@gmail.com>2021-10-19 17:33:02 +0300
commit6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc (patch)
treeb884734538c73e55307ca1217475d8169eaf0370 /doc
parent1218b82bce915e2cde8820b13768ed00d7e84b53 (diff)
downloadnixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.tar
nixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.tar.gz
nixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.tar.bz2
nixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.tar.lz
nixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.tar.xz
nixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.tar.zst
nixpkgs-6517e5b10f901fb4e41fbf8a5a8b2456ae03c3bc.zip
Improve explenations for wrap*Program
Diffstat (limited to 'doc')
-rw-r--r--doc/stdenv/stdenv.chapter.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md
index 55e9ae48fb1..031880fbc68 100644
--- a/doc/stdenv/stdenv.chapter.md
+++ b/doc/stdenv/stdenv.chapter.md
@@ -871,15 +871,15 @@ someVar=$(stripHash $name)
 
 ### `wrapProgram` \<executable\> \<makeWrapperArgs\> {#fun-wrapProgram}
 
-Convenience function for `makeWrapper` that automatically creates a sane wrapper file. It takes all the same arguments as `makeWrapper`, except for `--argv0`.
+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 `--argv0`.
 
-It cannot be applied multiple times, since it will overwrite the wrapper file and you will end up with double wrapping.
+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.
 
 ### `wrapProgramBinary` \<executable\> \<makeBinaryWrapperArgs\> {#fun-wrapProgramBinary}
 
-Convenience function for `makeWrapperBinary` that automatically creates a sane wrapper file. It takes all the same arguments as `makeBinaryWrapper`, except for `--argv0`.
+Convenience function for `makeBinaryWrapper` that replaces `<\executable\>` with a wrapper that executes the original program. It takes all the same arguments as `makeBinaryWrapper`, except for `--argv0`.
 
-It cannot be applied multiple times, since it will overwrite the wrapper file and you will end up with double wrapping.
+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.
 
 ## Package setup hooks {#ssec-setup-hooks}