writeShellApplication: don't prefix empty PATH

authored by

Jonathan Ringer and committed by
Bjørn Forsman
dc607cf6 fa066dd7

+2
+2
pkgs/build-support/trivial-builders.nix
··· 286 set -o errexit 287 set -o nounset 288 set -o pipefail 289 290 export PATH="${lib.makeBinPath runtimeInputs}:$PATH" 291 292 ${text} 293 '';
··· 286 set -o errexit 287 set -o nounset 288 set -o pipefail 289 + '' + lib.optionalString (runtimeInputs != [ ]) '' 290 291 export PATH="${lib.makeBinPath runtimeInputs}:$PATH" 292 + '' + '' 293 294 ${text} 295 '';