mirror of
https://github.com/kmein/niveum
synced 2026-03-19 11:31:09 +01:00
scripts: add man-pdf
This commit is contained in:
5
packages/man-pdf.nix
Normal file
5
packages/man-pdf.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ writeShellScriptBin, texlive }:
|
||||||
|
writeShellScriptBin "man-pdf" ''
|
||||||
|
for program in "$@"; do
|
||||||
|
man -t "$program" | ${texlive.combined.scheme-basic}/bin/ps2pdf
|
||||||
|
''
|
||||||
Reference in New Issue
Block a user