qrtool: fix docs after upgrade

This commit is contained in:
Michael Daniels 2025-08-15 17:52:36 -04:00
parent 8e1dc2270f
commit 96f70fe1d6
No known key found for this signature in database

View File

@ -26,8 +26,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
]; ];
postInstall = '' postInstall = ''
# Built by ./build.rs using `asciidoctor` asciidoctor -b manpage docs/man/man1/*.1.adoc
installManPage ./target/*/release/build/qrtool*/out/*.? installManPage docs/man/man1/*.1
'' ''
+ lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd qrtool \ installShellCompletion --cmd qrtool \