about summary refs log tree commit diff
path: root/pkgs/development/libraries/audiofile/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/audiofile/default.nix')
-rw-r--r--pkgs/development/libraries/audiofile/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/audiofile/default.nix b/pkgs/development/libraries/audiofile/default.nix
index f9974e2ca253..3a65f2535b7c 100644
--- a/pkgs/development/libraries/audiofile/default.nix
+++ b/pkgs/development/libraries/audiofile/default.nix
@@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
   version = "0.3.6";
 
   buildInputs =
-    lib.optionals stdenv.isLinux [
+    lib.optionals stdenv.hostPlatform.isLinux [
       alsa-lib
-    ] ++ lib.optionals stdenv.isDarwin [
+    ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
       CoreServices AudioUnit
     ];