about summary refs log tree commit diff
path: root/pkgs/tools/video/swfmill/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/video/swfmill/default.nix')
-rw-r--r--pkgs/tools/video/swfmill/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/video/swfmill/default.nix b/pkgs/tools/video/swfmill/default.nix
index 9e8fea8b53a6..e7e28c09a2d8 100644
--- a/pkgs/tools/video/swfmill/default.nix
+++ b/pkgs/tools/video/swfmill/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ libxslt freetype libpng libxml2 ];
 
   # fatal error: 'libxml/xpath.h' file not found
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libxml2.dev}/include/libxml2";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${libxml2.dev}/include/libxml2";
 
   meta = {
     description = "Xml2swf and swf2xml processor with import functionalities";