mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +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)
|
(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 (
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user