diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-05-12 22:17:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 22:17:34 +0100 |
commit | 5c5187646d18f259dd791235460833494d74174b (patch) | |
tree | 224ece90f51fec886a8d4aa057c0dc7d562bb856 /doc | |
parent | bbc85350c67cead707b35ca0eb31dd5059b099ec (diff) | |
parent | 3e385d9a8262fedc647f59aebc5464d7a9212c1a (diff) | |
download | nixlib-5c5187646d18f259dd791235460833494d74174b.tar nixlib-5c5187646d18f259dd791235460833494d74174b.tar.gz nixlib-5c5187646d18f259dd791235460833494d74174b.tar.bz2 nixlib-5c5187646d18f259dd791235460833494d74174b.tar.lz nixlib-5c5187646d18f259dd791235460833494d74174b.tar.xz nixlib-5c5187646d18f259dd791235460833494d74174b.tar.zst nixlib-5c5187646d18f259dd791235460833494d74174b.zip |
Merge pull request #172366 from ncfavier/wrappers-cleanup
make{,Binary}Wrapper: some cleanups
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 d5d27cbf0863..b57698cb90b3 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -869,7 +869,7 @@ makeWrapper $out/bin/foo $wrapperfile --set FOOBAR baz makeWrapper $out/bin/foo $wrapperfile --prefix PATH : ${lib.makeBinPath [ hello git ]} ``` -There’s many more kinds of arguments, they are documented in `nixpkgs/pkgs/build-support/setup-hooks/make-wrapper.sh` for the `makeWrapper` implementation and in `nixpkgs/pkgs/build-support/setup-hooks/make-binary-wrapper.sh` for the `makeBinaryWrapper` implementation. +There’s many more kinds of arguments, they are documented in `nixpkgs/pkgs/build-support/setup-hooks/make-wrapper.sh` for the `makeWrapper` implementation and in `nixpkgs/pkgs/build-support/setup-hooks/make-binary-wrapper/make-binary-wrapper.sh` for the `makeBinaryWrapper` implementation. `wrapProgram` is a convenience function you probably want to use most of the time, implemented by both `makeWrapper` and `makeBinaryWrapper`. |