From a25e03e76ae1e0367419db1de009e1139d08de68 Mon Sep 17 00:00:00 2001 From: Yureka Date: Wed, 19 Oct 2022 00:22:54 +0200 Subject: [PATCH] pkgsMusl.netbsd.install: fix build (#196260) --- pkgs/os-specific/bsd/netbsd/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index c90de5067dc3..51b6af0da191 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -297,7 +297,11 @@ in lib.makeScopeWithSplicing mandoc groff rsync ]; skipIncludesPhase = true; - buildInputs = with self; compatIfNeeded; + buildInputs = with self; compatIfNeeded + # fts header is needed. glibc already has this header, but musl doesn't, + # so make sure pkgsMusl.netbsd.install still builds in case you want to + # remove it! + ++ [ fts ]; installPhase = '' runHook preInstall