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 286 set -o errexit 287 287 set -o nounset 288 288 set -o pipefail 289 + '' + lib.optionalString (runtimeInputs != [ ]) '' 289 290 290 291 export PATH="${lib.makeBinPath runtimeInputs}:$PATH" 292 + '' + '' 291 293 292 294 ${text} 293 295 '';