From 0534ceac816cb708434b126e38e98b925516498a Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 6 Jul 2018 18:53:50 -0400 Subject: xcbuild: move setup hook to xcbuildHook Not every package that needs xcbuild will want to use its build phase. I have moved the xcbuild setup hook to the new attribute xcbuildHook. This means that dontUseXcbuild is no longer needed. If you just need to call xcbuild on its own you can just refer to xcbuild. --- pkgs/development/tools/xcbuild/setup-hook.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pkgs/development/tools') diff --git a/pkgs/development/tools/xcbuild/setup-hook.sh b/pkgs/development/tools/xcbuild/setup-hook.sh index 70100c196973..9dc03a61f62e 100644 --- a/pkgs/development/tools/xcbuild/setup-hook.sh +++ b/pkgs/development/tools/xcbuild/setup-hook.sh @@ -19,11 +19,9 @@ xcbuildInstallPhase () { runHook postInstall } -if [ -z "$dontUseXcbuild" ]; then - buildPhase=xcbuildBuildPhase - if [ -z "$installPhase" ]; then - installPhase=xcbuildInstallPhase - fi +buildPhase=xcbuildBuildPhase +if [ -z "$installPhase" ]; then + installPhase=xcbuildInstallPhase fi # if [ -d "*.xcodeproj" ]; then -- cgit 1.4.1