--- Makefile.old	2016-04-18 15:46:13.000000000 -0700
+++ Makefile	2016-04-18 15:46:33.000000000 -0700
@@ -43,9 +43,10 @@
 $(BUILD):
 	mkdir -p $@
 	git submodule update --init --recursive
-	carthage build --platform Mac
+	carthage build --platform Mac --derived-data $(BUILD)
 	xcodebuild -project SourceKittenDaemon.xcodeproj \
 						 -scheme SourceKittenDaemon \
+						 -IDECustomDerivedDataLocation=$(BUILD) \
 						 install \
 						 DSTROOT=$@
 
