summary refs log tree commit diff
path: root/pkgs/development/tools/xcbuild
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-10-31 17:59:18 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-01 14:44:44 -0400
commitb7f4bda2827e4adc76dd30d6fd5257ed4f49b21d (patch)
treea304936e553f074a31d1ac18f190a8c9beace795 /pkgs/development/tools/xcbuild
parent7eecf4f8fb288dcc4a32595036421bfcc38699e6 (diff)
downloadnixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar
nixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.gz
nixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.bz2
nixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.lz
nixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.xz
nixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.tar.zst
nixpkgs-b7f4bda2827e4adc76dd30d6fd5257ed4f49b21d.zip
treewide: `*Phase(s)?` variables are optional
If these aren't defined, the stdenv defaults are used in the `*Phase`
case, or no extra phases are done, in the `*Phases` case.
Diffstat (limited to 'pkgs/development/tools/xcbuild')
-rw-r--r--pkgs/development/tools/xcbuild/setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/xcbuild/setup-hook.sh b/pkgs/development/tools/xcbuild/setup-hook.sh
index 9dc03a61f62..f4b5abf2d8d 100644
--- a/pkgs/development/tools/xcbuild/setup-hook.sh
+++ b/pkgs/development/tools/xcbuild/setup-hook.sh
@@ -20,7 +20,7 @@ xcbuildInstallPhase () {
 }
 
 buildPhase=xcbuildBuildPhase
-if [ -z "$installPhase" ]; then
+if [ -z "${installPhase-}" ]; then
     installPhase=xcbuildInstallPhase
 fi