about summary refs log tree commit diff
path: root/pkgs/development/libraries/libcec/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libcec/default.nix')
-rw-r--r--pkgs/development/libraries/libcec/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libcec/default.nix b/pkgs/development/libraries/libcec/default.nix
index 78746cf01254..4116f2a0172a 100644
--- a/pkgs/development/libraries/libcec/default.nix
+++ b/pkgs/development/libraries/libcec/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
 
   cmakeFlags = [
     "-DBUILD_SHARED_LIBS=1"
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     "-DHAVE_LINUX_API=1"
   ];