mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 18:08:03 +00:00
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:
parent
e4558c8ca5
commit
1063bc0965
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user