mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 14:22:29 +00:00
package.nix: Use nativeInstallCheckInputs
This commit is contained in:
parent
3db75b0060
commit
73b91406a3
12
package.nix
12
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 (
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user