about summary refs log tree commit diff
path: root/pkgs/development/libraries/openal-soft/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/openal-soft/default.nix')
-rw-r--r--pkgs/development/libraries/openal-soft/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/libraries/openal-soft/default.nix b/pkgs/development/libraries/openal-soft/default.nix
index 496b7ac60fe0..15a33af177ce 100644
--- a/pkgs/development/libraries/openal-soft/default.nix
+++ b/pkgs/development/libraries/openal-soft/default.nix
@@ -1,8 +1,8 @@
 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, removeReferencesTo
-, alsaSupport ? !stdenv.isDarwin, alsa-lib
-, dbusSupport ? !stdenv.isDarwin, dbus
-, pipewireSupport ? !stdenv.isDarwin, pipewire
-, pulseSupport ? !stdenv.isDarwin, libpulseaudio
+, alsaSupport ? !stdenv.hostPlatform.isDarwin, alsa-lib
+, dbusSupport ? !stdenv.hostPlatform.isDarwin, dbus
+, pipewireSupport ? !stdenv.hostPlatform.isDarwin, pipewire
+, pulseSupport ? !stdenv.hostPlatform.isDarwin, libpulseaudio
 , CoreServices, AudioUnit, AudioToolbox
 }:
 
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
     ++ lib.optional dbusSupport dbus
     ++ lib.optional pipewireSupport pipewire
     ++ lib.optional pulseSupport libpulseaudio
-    ++ lib.optionals stdenv.isDarwin [ CoreServices AudioUnit AudioToolbox ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices AudioUnit AudioToolbox ];
 
   cmakeFlags = [
     # Automatically links dependencies without having to rely on dlopen, thus