summary refs log tree commit diff
path: root/pkgs/development/libraries/libsamplerate
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24 21:53:46 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24 21:53:46 +0200
commitac8775dd968f49a37260c53690d072faf91aca6f (patch)
treedf2db290beaac75acb2f0dba58d6afe8e938a236 /pkgs/development/libraries/libsamplerate
parentbf0d518c6733873a67989c4781d56f8b0fccbc46 (diff)
downloadnixlib-ac8775dd968f49a37260c53690d072faf91aca6f.tar
nixlib-ac8775dd968f49a37260c53690d072faf91aca6f.tar.gz
nixlib-ac8775dd968f49a37260c53690d072faf91aca6f.tar.bz2
nixlib-ac8775dd968f49a37260c53690d072faf91aca6f.tar.lz
nixlib-ac8775dd968f49a37260c53690d072faf91aca6f.tar.xz
nixlib-ac8775dd968f49a37260c53690d072faf91aca6f.tar.zst
nixlib-ac8775dd968f49a37260c53690d072faf91aca6f.zip
$xcodePath -> $SDKROOT
SDKROOT is standard. In particular, this fixes the cmake build on
Mac OS X 10.9.
Diffstat (limited to 'pkgs/development/libraries/libsamplerate')
-rw-r--r--pkgs/development/libraries/libsamplerate/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libsamplerate/default.nix b/pkgs/development/libraries/libsamplerate/default.nix
index 183caefff852..85d51d0ad71e 100644
--- a/pkgs/development/libraries/libsamplerate/default.nix
+++ b/pkgs/development/libraries/libsamplerate/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
     ''
       # need headers from the Carbon.framework in /System/Library/Frameworks to
       # compile this on darwin -- not sure how to handle
-      NIX_CFLAGS_COMPILE+=" -I$xcodePath/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
+      NIX_CFLAGS_COMPILE+=" -I$SDKROOT/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
 
       substituteInPlace examples/Makefile --replace "-fpascal-strings" ""
     '';