From 73b91406a36bc3fb599a7e7933b42ce31b89e706 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 23 Oct 2024 19:49:26 +0200 Subject: [PATCH] package.nix: Use nativeInstallCheckInputs --- package.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/package.nix b/package.nix index 658f2275f..5733e23f8 100644 --- a/package.nix +++ b/package.nix @@ -203,16 +203,18 @@ in { (lib.getBin lowdown) mdbook mdbook-linkcheck - ] ++ lib.optionals doInstallCheck [ + jq # Also for custom mdBook preprocessor. + ] ++ lib.optional stdenv.hostPlatform.isStatic unixtools.hexdump + ; + + nativeInstallCheckInputs = [ git mercurial openssh - ] ++ lib.optionals (doInstallCheck || enableManual) [ - jq # Also for custom mdBook preprocessor. + jq ] ++ lib.optionals enableManual [ man - ] ++ lib.optional stdenv.hostPlatform.isStatic unixtools.hexdump - ; + ]; buildInputs = lib.optionals doBuild ( [