Skip to content

Commit

Permalink
package.nix: Use nativeInstallCheckInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed Oct 23, 2024
1 parent 3db75b0 commit 73b9140
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
[
Expand Down

0 comments on commit 73b9140

Please sign in to comment.