os-specific/netbsd: fix mandoc splicing

This expression is not properly spliced, so we need to
manually specify buildPackages so that mandoc will not
be built for the host platform

Fixes cross-compilation of netbsd.* packages that depend
on mandoc in nativeBuildInputs, such as `getent`.
This commit is contained in:
Ryan Burns 2021-12-10 17:24:44 -08:00
parent f5fdf72a24
commit 577c62aab1

View file

@ -72,7 +72,7 @@ in lib.makeScopeWithSplicing
nativeBuildInputs = with buildPackages.netbsd; [
bsdSetupHook netbsdSetupHook
makeMinimal
install tsort lorder mandoc groff statHook rsync
install tsort lorder buildPackages.mandoc groff statHook rsync
];
buildInputs = with self; compatIfNeeded;