package.nix: Use nativeInstallCheckInputs

This commit is contained in:
Robert Hensing 2024-10-23 19:49:26 +02:00
parent 3db75b0060
commit 73b91406a3

View File

@ -203,16 +203,18 @@ in {
(lib.getBin lowdown) (lib.getBin lowdown)
mdbook mdbook
mdbook-linkcheck mdbook-linkcheck
] ++ lib.optionals doInstallCheck [ jq # Also for custom mdBook preprocessor.
] ++ lib.optional stdenv.hostPlatform.isStatic unixtools.hexdump
;
nativeInstallCheckInputs = [
git git
mercurial mercurial
openssh openssh
] ++ lib.optionals (doInstallCheck || enableManual) [ jq
jq # Also for custom mdBook preprocessor.
] ++ lib.optionals enableManual [ ] ++ lib.optionals enableManual [
man man
] ++ lib.optional stdenv.hostPlatform.isStatic unixtools.hexdump ];
;
buildInputs = lib.optionals doBuild ( buildInputs = lib.optionals doBuild (
[ [