about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-03-12 01:41:17 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-03-12 12:32:45 +0700
commitd97968e29f1eb04620e1d80de17cb1a1a3e07ed3 (patch)
tree182fbe1a7c8132b542d495a1bdfc2fea8c2e03b5
parentf0f899ce10015af74d9377bec60e9f935fd8b371 (diff)
htmlcxx: fix darwin build
-rw-r--r--pkgs/development/libraries/htmlcxx/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/htmlcxx/default.nix b/pkgs/development/libraries/htmlcxx/default.nix
index 286834112f273..d9072e46e4070 100644
--- a/pkgs/development/libraries/htmlcxx/default.nix
+++ b/pkgs/development/libraries/htmlcxx/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl }:
+{ lib, stdenv, fetchurl, libiconv }:
 
 stdenv.mkDerivation rec {
   pname = "htmlcxx";
@@ -9,12 +9,13 @@ stdenv.mkDerivation rec {
     sha256 = "1hgmyiad3qgbpf2dvv2jygzj6jpz4dl3n8ds4nql68a4l9g2nm07";
   };
 
+  buildInputs = [ libiconv ];
   patches = [ ./ptrdiff.patch ];
 
   meta = with lib; {
     homepage = "http://htmlcxx.sourceforge.net/";
     description = "A simple non-validating css1 and html parser for C++";
     license = licenses.lgpl2;
-    platforms = platforms.linux;
+    platforms = platforms.all;
   };
 }