colordiff: use w3m-batch instead of w3m

colordiff uses w3m at build time to format its documentation.  Let's
use w3m-batch instead to avoid dragging in all of gtk3.
This commit is contained in:
Adam Joseph
2022-08-12 22:45:33 -07:00
parent 0498a636c9
commit 93964ae51f
+2 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, docbook_xml_dtd_412, docbook_xsl, perl, w3m, xmlto, diffutils }:
{ lib, stdenv, fetchFromGitHub, docbook_xml_dtd_412, docbook_xsl, perl, w3m-batch, xmlto, diffutils }:
stdenv.mkDerivation rec {
pname = "colordiff";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-+TtVnUX88LMd8zmhLsKTyR9JlgR7IkUB18PF3LRgPB0=";
};
nativeBuildInputs = [ docbook_xml_dtd_412 docbook_xsl perl w3m xmlto ];
nativeBuildInputs = [ docbook_xml_dtd_412 docbook_xsl perl w3m-batch xmlto ];
buildInputs = [ perl ];