about summary refs log tree commit diff
path: root/pkgs/by-name/li/libaribcaption/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/li/libaribcaption/package.nix')
-rw-r--r--pkgs/by-name/li/libaribcaption/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/li/libaribcaption/package.nix b/pkgs/by-name/li/libaribcaption/package.nix
index 7d39841ec6fe..936991ef6a87 100644
--- a/pkgs/by-name/li/libaribcaption/package.nix
+++ b/pkgs/by-name/li/libaribcaption/package.nix
@@ -27,10 +27,10 @@ stdenv.mkDerivation rec {
 
   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
 
-  buildInputs = lib.optionals (!stdenv.isDarwin) [
+  buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [
     fontconfig
     freetype
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     ApplicationServices
     CoreFoundation
     CoreGraphics