summary refs log tree commit diff
path: root/pkgs/development/libraries/libsndfile
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/libsndfile
parentbf0d518c6733873a67989c4781d56f8b0fccbc46 (diff)
downloadnixpkgs-ac8775dd968f49a37260c53690d072faf91aca6f.tar
nixpkgs-ac8775dd968f49a37260c53690d072faf91aca6f.tar.gz
nixpkgs-ac8775dd968f49a37260c53690d072faf91aca6f.tar.bz2
nixpkgs-ac8775dd968f49a37260c53690d072faf91aca6f.tar.lz
nixpkgs-ac8775dd968f49a37260c53690d072faf91aca6f.tar.xz
nixpkgs-ac8775dd968f49a37260c53690d072faf91aca6f.tar.zst
nixpkgs-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/libsndfile')
-rw-r--r--pkgs/development/libraries/libsndfile/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libsndfile/default.nix b/pkgs/development/libraries/libsndfile/default.nix
index f97bd040a54..74140d5f335 100644
--- a/pkgs/development/libraries/libsndfile/default.nix
+++ b/pkgs/development/libraries/libsndfile/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   # compile this on darwin -- not sure how to handle
   preConfigure = stdenv.lib.optionalString stdenv.isDarwin
     ''
-      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"
     '';
 
   # Needed on Darwin.