about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/netbsd
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2022-10-19 00:22:54 +0200
committerGitHub <noreply@github.com>2022-10-19 00:22:54 +0200
commita25e03e76ae1e0367419db1de009e1139d08de68 (patch)
tree4e422a0575cdb384399948a21847ccc79db06477 /pkgs/os-specific/bsd/netbsd
parent3834216ec6c16439f8fd908a0e42c41accf2c387 (diff)
pkgsMusl.netbsd.install: fix build (#196260)
Diffstat (limited to 'pkgs/os-specific/bsd/netbsd')
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix
index c90de5067dc3f..51b6af0da1919 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