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:
parent
f5fdf72a24
commit
577c62aab1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user