libndctl: build docs with asciidoc instead of asciidoctor
Removes dependency on ruby 2.7 and isn't much slower (cherry picked from commit 786579c0b8ee5311af04feb036d04b78efd4b5b2)
This commit is contained in:
parent
ecff4216d5
commit
036b557bd9
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
||||||
, asciidoctor, pkg-config, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
|
, asciidoc, pkg-config, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
|
||||||
, json_c, kmod, which, util-linux, udev, keyutils
|
, json_c, kmod, which, util-linux, udev, keyutils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
outputs = [ "out" "lib" "man" "dev" ];
|
outputs = [ "out" "lib" "man" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ autoreconfHook asciidoctor pkg-config xmlto docbook_xml_dtd_45 docbook_xsl libxslt
|
[ autoreconfHook asciidoc pkg-config xmlto docbook_xml_dtd_45 docbook_xsl libxslt
|
||||||
which
|
which
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--without-bash"
|
[ "--without-bash"
|
||||||
"--without-systemd"
|
"--without-systemd"
|
||||||
|
"--disable-asciidoctor" # depends on ruby 2.7, use asciidoc instead
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue