htmlcxx: unbreak on aarch64-darwin

This commit is contained in:
Weijia Wang 2023-01-04 09:53:07 +01:00
parent 83481b8708
commit 66fb033938

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libiconv }:
{ lib, stdenv, fetchurl, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "htmlcxx";
@ -9,6 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-XTj5OM9N+aKYpTRq8nGV//q/759GD8KgIjPLz6j8dcg=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libiconv ];
patches = [
./ptrdiff.patch
@ -20,7 +21,5 @@ stdenv.mkDerivation rec {
description = "A simple non-validating css1 and html parser for C++";
license = licenses.lgpl2;
platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}