diff options
author | aszlig <aszlig@nix.build> | 2018-09-03 00:45:37 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-09-03 00:45:37 +0200 |
commit | 7c717a4f6fa868019e21e7a335207d75be9e2209 (patch) | |
tree | 87a031b873c267d64f475bcf2589219ae955665d /release.nix | |
parent | 3afb1cfeb336d0b2209ebd86c9318dac8cdf6525 (diff) |
release/manual: Fix generating option descriptions
The NixOS option descriptions are now splitted into <para/> elements whenever a \n\n occurs. For this an intermediate step is necessary, so we need to add the postprocessing XSLT here as well. This is the upstream commit that changed this behavior: https://github.com/NixOS/nixpkgs/commit/f865d0feabfafbb30a9e0659e19a30cb Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'release.nix')
-rw-r--r-- | release.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release.nix b/release.nix index a717341d..14179fc6 100644 --- a/release.nix +++ b/release.nix @@ -202,9 +202,12 @@ in with pkgsUpstream.lib; with builtins; { buildCommand = '' cp -r "${./doc}" doc chmod -R +w doc - xsltproc -o doc/options-db.xml \ + xsltproc -o intermediate.xml \ "${nixpkgs}/nixos/doc/manual/options-to-docbook.xsl" \ ${optionsFile} + xsltproc -o doc/options-db.xml \ + "${nixpkgs}/nixos/doc/manual/postprocess-option-descriptions.xsl" \ + intermediate.xml dest="$out/share/doc/vuizvui" mkdir -p "$dest" |