avrdude: remove avrdude.ps from docs

This PostScript file contains the full path of the dvips executable in
comments, therefore the resulting package gets a runtime dependency on
the texlive-combined-medium package, which adds almost 1GB to the
closure size.

The same documentation is still available in the PDF format, which is
probably more useful in 2023.
This commit is contained in:
Sergey Vlasov 2023-07-05 16:45:16 +03:00
parent e4558c8ca5
commit 1063bc0965

View File

@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
"-DBUILD_DOC=ON"
];
# dvips output references texlive in comments, resulting in a huge closure
postInstall = lib.optionalString docSupport ''
rm $out/share/doc/${pname}/*.ps
'';
meta = with lib; {
description = "Command-line tool for programming Atmel AVR microcontrollers";
longDescription = ''