about summary refs log tree commit diff
path: root/pkgs/development/libraries/libdc1394/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libdc1394/default.nix')
-rw-r--r--pkgs/development/libraries/libdc1394/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libdc1394/default.nix b/pkgs/development/libraries/libdc1394/default.nix
index 0163eb9015d2..fc33817a857e 100644
--- a/pkgs/development/libraries/libdc1394/default.nix
+++ b/pkgs/development/libraries/libdc1394/default.nix
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
   ];
 
   buildInputs = [ libusb1 ]
-    ++ lib.optional stdenv.isLinux libraw1394
-    ++ lib.optional stdenv.isDarwin CoreServices;
+    ++ lib.optional stdenv.hostPlatform.isLinux libraw1394
+    ++ lib.optional stdenv.hostPlatform.isDarwin CoreServices;
 
   meta = with lib; {
     description = "Capture and control API for IIDC compliant cameras";