about summary refs log tree commit diff
path: root/pkgs/by-name/me/mediainfo-gui/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/me/mediainfo-gui/package.nix')
-rw-r--r--pkgs/by-name/me/mediainfo-gui/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/me/mediainfo-gui/package.nix b/pkgs/by-name/me/mediainfo-gui/package.nix
index 3c9da25e33a5..b649afd83abe 100644
--- a/pkgs/by-name/me/mediainfo-gui/package.nix
+++ b/pkgs/by-name/me/mediainfo-gui/package.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook pkg-config ];
 
   buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
-    ++ lib.optionals stdenv.isDarwin [ Cocoa ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
 
   sourceRoot = "MediaInfo/Project/GNU/GUI";