xnbd: do not build html docs

This commit is contained in:
volth 2018-03-18 10:30:13 +00:00 committed by GitHub
parent 174fe14be2
commit 10be0615c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, jansson, asciidoc, libxml2, libxslt, docbook_xml_dtd_45 }:
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, jansson }:
stdenv.mkDerivation rec {
name = "xnbd-0.4.0";
@ -12,7 +12,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib jansson asciidoc libxml2 libxslt docbook_xml_dtd_45 ];
buildInputs = [ glib jansson ];
# do not build docs, it is slow and it fails on Hydra
prePatch = ''
rm -rf doc
substituteInPlace configure.ac --replace "doc/Makefile" ""
substituteInPlace Makefile.am --replace "lib doc ." "lib ."
'';
meta = {
homepage = https://bitbucket.org/hirofuchi/xnbd;