From 577c62aab1576d0f6ea13ecffba9a58b38c1d1a6 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Fri, 10 Dec 2021 17:24:44 -0800 Subject: [PATCH] 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`. --- pkgs/os-specific/bsd/netbsd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index b438ea98a266..beaa176dae15 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -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;