From 3f92a7e12380f9373e382c5c383905bae407bdca Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Tue, 27 Oct 2020 14:49:47 -0400 Subject: [PATCH] groff: fix PDF manpage building with -Tpdf/gropdf These files are pure data, just fonts; they shouldn't have been moved to the "perl" output, because the Perl programs (namely, gropdf) use them from the main "out" output. These files don't contain any references to more dependencies (Perl or otherwise), so they don't bloat the closure. And the files themselves are small; 276K total as of this commit. --- pkgs/tools/text/groff/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix index 8c98a4aba465..20052f6c4cef 100644 --- a/pkgs/tools/text/groff/default.nix +++ b/pkgs/tools/text/groff/default.nix @@ -82,10 +82,6 @@ stdenv.mkDerivation rec { moveToOutput bin/afmtodit $perl moveToOutput bin/gperl $perl moveToOutput bin/chem $perl - moveToOutput share/groff/${version}/font/devpdf $perl - - # idk if this is needed, but Fedora does it - moveToOutput share/groff/${version}/tmac/pdf.tmac $perl moveToOutput bin/gpinyin $perl moveToOutput lib/groff/gpinyin $perl