From d5756cdf0afb066af91b837856867bd8e1bc7fe0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Jul 2016 18:32:56 +0200 Subject: [PATCH] Remove the PDF manual PDF is very 20th century and nobody reads technical documentation this way anymore. --- nixos/doc/manual/default.nix | 25 +------------------------ nixos/release.nix | 1 - 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix index 83dad5fd8dc7..c27c6c60eec4 100644 --- a/nixos/doc/manual/default.nix +++ b/nixos/doc/manual/default.nix @@ -122,7 +122,7 @@ let Allows for cross-referencing olinks between the manpages - and the HTML/PDF manuals. + and manual. &manualtargets; @@ -229,29 +229,6 @@ in rec { ''; }; - - manualPDF = stdenv.mkDerivation { - name = "nixos-manual-pdf"; - - inherit sources; - - buildInputs = [ libxml2 libxslt dblatex dblatex.tex ]; - - buildCommand = '' - ${copySources} - - dst=$out/share/doc/nixos - mkdir -p $dst - xmllint --xinclude manual.xml | dblatex -o $dst/manual.pdf - \ - -P target.database.document="${olinkDB}/olinkdb.xml" \ - -P doc.collab.show=0 \ - -P latex.output.revhistory=0 - - mkdir -p $out/nix-support - echo "doc-pdf manual $dst/manual.pdf" >> $out/nix-support/hydra-build-products - ''; - }; - # Generate the NixOS manpages. manpages = stdenv.mkDerivation { name = "nixos-manpages"; diff --git a/nixos/release.nix b/nixos/release.nix index 68f06a832980..9886fdea291c 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -96,7 +96,6 @@ in rec { manual = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manual); manualEpub = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualEpub)); - manualPDF = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manualPDF)).x86_64-linux; manpages = buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.manpages); options = (buildFromConfig ({ pkgs, ... }: { }) (config: config.system.build.manual.optionsJSON)).x86_64-linux;