about summary refs log tree commit diff
path: root/pkgs/development/libraries/chromaprint/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/chromaprint/default.nix')
-rw-r--r--pkgs/development/libraries/chromaprint/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/chromaprint/default.nix b/pkgs/development/libraries/chromaprint/default.nix
index 934a4b04a96b..e264693ceab8 100644
--- a/pkgs/development/libraries/chromaprint/default.nix
+++ b/pkgs/development/libraries/chromaprint/default.nix
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ninja ];
 
-  buildInputs = [ ffmpeg_7 ] ++ lib.optionals stdenv.isDarwin
+  buildInputs = [ ffmpeg_7 ] ++ lib.optionals stdenv.hostPlatform.isDarwin
     (with darwin.apple_sdk.frameworks; [ Accelerate CoreGraphics CoreVideo zlib ]);
 
   cmakeFlags = [ "-DBUILD_EXAMPLES=ON" "-DBUILD_TOOLS=ON" ];