about summary refs log tree commit diff
path: root/pkgs/development/libraries/libopenshot-audio/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libopenshot-audio/default.nix')
-rw-r--r--pkgs/development/libraries/libopenshot-audio/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libopenshot-audio/default.nix b/pkgs/development/libraries/libopenshot-audio/default.nix
index 236b3026068f..2d8cec21b189 100644
--- a/pkgs/development/libraries/libopenshot-audio/default.nix
+++ b/pkgs/development/libraries/libopenshot-audio/default.nix
@@ -40,9 +40,9 @@ stdenv.mkDerivation (finalAttrs: {
     pkg-config
   ];
 
-  buildInputs = lib.optionals stdenv.isLinux [
+  buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib
-  ] ++ (if stdenv.isDarwin then [
+  ] ++ (if stdenv.hostPlatform.isDarwin then [
     Accelerate
     AGL
     Cocoa