From 0d7e5019d6fda7c1d2f70c6291f8b422d83da6c9 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 15 Dec 2021 21:13:12 +0100 Subject: [PATCH] build: Drop DocBook schema validation It was not actually used because we did not pass it the manual. And if we fix it by replacing the Bash `$combined` variable by a Nix one, it will fail because we only have RelaxNG schema for Docbook 5.0, which unlike later versions is too limited (e.g. does not allow emphasis element within filename element). - https://tdg.docbook.org/tdg/5.0/filename.html - https://tdg.docbook.org/tdg/5.2/filename.html --- default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/default.nix b/default.nix index 19eb6aa..559959a 100644 --- a/default.nix +++ b/default.nix @@ -60,11 +60,9 @@ in pkgs.stdenv.mkDerivation { name = "nix-pills"; src = sources; - buildInputs = with pkgs; [ jing libxslt ]; + buildInputs = with pkgs; [ libxslt ]; installPhase = '' - jing ${pkgs.docbook5}/xml/rng/docbook/docbook.rng $combined - # Generate the HTML manual. dst=$out/share/doc/nix-pills mkdir -p $dst