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:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user