about summary refs log tree commit diff
path: root/pkgs/by-name/li/libclipboard/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/li/libclipboard/package.nix')
-rw-r--r--pkgs/by-name/li/libclipboard/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/li/libclipboard/package.nix b/pkgs/by-name/li/libclipboard/package.nix
index 1febf35d1c8f..eec120bcd62d 100644
--- a/pkgs/by-name/li/libclipboard/package.nix
+++ b/pkgs/by-name/li/libclipboard/package.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
   };
 
   buildInputs = [ libxcb libXau libXdmcp ]
-    ++ lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
+    ++ lib.optional stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
   nativeBuildInputs = [ cmake pkg-config ];
 
   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];