Merge pull request #241686 from sigprof/avrdude-fix-doc-dependencies

avrdude: fix huge closure size by removing PostScript docs
This commit is contained in:
Weijia Wang
2023-07-06 14:06:29 +03:00
committed by GitHub
@@ -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 = ''