diff options
author | Alyssa Ross <hi@alyssa.is> | 2018-08-24 14:02:36 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-08-24 19:46:16 +0200 |
commit | f4745bef6c3e18b40b8f696dc7ed6f5976c4541b (patch) | |
tree | 24b51939f90e29ccc025eee342000ab89b74ea93 /pkgs/build-support | |
parent | 43eb8b9a9346359671395cb85f6a747e4f9b42f4 (diff) | |
download | nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.tar nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.tar.gz nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.tar.bz2 nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.tar.lz nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.tar.xz nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.tar.zst nixlib-f4745bef6c3e18b40b8f696dc7ed6f5976c4541b.zip |
makeWrapper: document --set-default
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/setup-hooks/make-wrapper.sh | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/build-support/setup-hooks/make-wrapper.sh b/pkgs/build-support/setup-hooks/make-wrapper.sh index f75b285bacf2..5d5ddcaa8d72 100644 --- a/pkgs/build-support/setup-hooks/make-wrapper.sh +++ b/pkgs/build-support/setup-hooks/make-wrapper.sh @@ -11,15 +11,18 @@ assertExecutable() { # makeWrapper EXECUTABLE ARGS # ARGS: -# --argv0 NAME : set name of executed process to NAME -# (otherwise it’s called …-wrapped) -# --set VAR VAL : add VAR with value VAL to the executable’s environment -# --unset VAR : remove VAR from the environment -# --run COMMAND : run command before the executable -# The command can push extra flags to a magic list variable -# extraFlagsArray, which are then added to the invocation -# of the executable -# --add-flags FLAGS : add FLAGS to invocation of executable +# --argv0 NAME : set name of executed process to NAME +# (otherwise it’s called …-wrapped) +# --set VAR VAL : add VAR with value VAL to the executable’s +# environment +# --set-default VAR VAL : like --set, but only adds VAR if not already set in +# the environment +# --unset VAR : remove VAR from the environment +# --run COMMAND : run command before the executable +# The command can push extra flags to a magic list +# variable extraFlagsArray, which are then added to +# the invocation of the executable +# --add-flags FLAGS : add FLAGS to invocation of executable # --prefix ENV SEP VAL : suffix/prefix ENV with VAL, separated by SEP # --suffix |