diff options
author | Doron Behar <doron.behar@gmail.com> | 2021-12-02 10:43:47 +0200 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-12-02 10:43:47 +0200 |
commit | 2b103ab8a131e54b750d90ec0cc9ff86741a6c4b (patch) | |
tree | 6ca5155e3f5bb191160ff853a8590344b320d22d /doc | |
parent | d8375fbccb2d8f7b8279374fa84645494e1a0942 (diff) | |
download | nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.tar nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.tar.gz nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.tar.bz2 nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.tar.lz nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.tar.xz nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.tar.zst nixpkgs-2b103ab8a131e54b750d90ec0cc9ff86741a6c4b.zip |
Remove TODO in documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv/stdenv.chapter.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index 71caddd8aa4..91e59bbce48 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -792,7 +792,7 @@ There’s many more kinds of arguments, they are documented in `nixpkgs/pkgs/bui ### `makeBinaryWrapper` \<executable\> \<wrapperfile\> \<args\> {#fun-makeBinaryWrapper} -A setup-hook very similar to `makeWrapper`, only it creates a tiny _compiled_ wrapper executable, that can be used as a shebang interpreter. This is needed mostly on Darwin, where shebangs cannot point to scripts, [due to a limitation with the `execve`-syscall](https://stackoverflow.com/questions/67100831/macos-shebang-with-absolute-path-not-working). The arguments it accepts are <!-- TODO: make them identical? --> similar to those of `makeWrapper` and they are documented in `nixpkgs/pkgs/build-support/setup-hooks/make-binary-wrapper.sh`. +A setup-hook very similar to `makeWrapper`, only it creates a tiny _compiled_ wrapper executable, that can be used as a shebang interpreter. This is needed mostly on Darwin, where shebangs cannot point to scripts, [due to a limitation with the `execve`-syscall](https://stackoverflow.com/questions/67100831/macos-shebang-with-absolute-path-not-working). The arguments it accepts are similar to those of `makeWrapper` and they are documented in `nixpkgs/pkgs/build-support/setup-hooks/make-binary-wrapper.sh`. Compiled wrappers generated by `makeBinaryWrapper` can be inspected with `less <path-to-wrapper>` - by scrolling past the binary data you should be able to see the C code that generated the executable and there see the environment variables that were injected into the wrapper. |