diff --git a/pkgs/build-support/setup-hooks/make-c-wrapper.sh b/pkgs/build-support/setup-hooks/make-c-wrapper.sh index 2c67d9ab16e6..6f024b3356c3 100644 --- a/pkgs/build-support/setup-hooks/make-c-wrapper.sh +++ b/pkgs/build-support/setup-hooks/make-c-wrapper.sh @@ -50,7 +50,7 @@ for ((n = 1; n < ${#args[*]}; n += 1)); do escape_string_literal "${args[$((n + 1))]}" key="${result}" printf "%s\n" " unsetenv(\"$key\");" - docs="${docs:+$docs$'\n'}unsetenv(\"${key}=${value}\", 0);" + docs="${docs:+$docs$'\n'}unsetenv(\"${key}=${value}\");" n=$((n + 1)) elif [[ "$p" == "--argv0" ]]; then escape_string_literal "${args[$((n + 1))]}"