diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-10 15:59:50 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-10 15:59:50 +0100 |
commit | 16a11b6be33fbd4dd474c00ec5790b03ea9efc9d (patch) | |
tree | b254179da7afd78e723ba8e09959401b90b3f2e8 /pkgs/tools/video | |
parent | 64891e361bc375a00e2da0b98a07267d17abfa2e (diff) |
swfmill: add darwin support
Diffstat (limited to 'pkgs/tools/video')
-rw-r--r-- | pkgs/tools/video/swfmill/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/video/swfmill/default.nix b/pkgs/tools/video/swfmill/default.nix index c93534bf1a20b..8e6d0baf7e725 100644 --- a/pkgs/tools/video/swfmill/default.nix +++ b/pkgs/tools/video/swfmill/default.nix @@ -14,11 +14,14 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; 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"; + meta = { description = "An xml2swf and swf2xml processor with import functionalities"; homepage = "http://swfmill.org"; license = lib.licenses.gpl2; - platforms = lib.platforms.linux; + platforms = lib.platforms.unix; mainProgram = "swfmill"; }; } |