about summary refs log tree commit diff
path: root/pkgs/os-specific/bsd
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-09-19 01:52:14 -0700
committerRaphael Megzari <raphael@megzari.com>2021-09-19 21:58:33 +0900
commitd43df749ac4779cdb3f53146c8c1ef66b4f33e33 (patch)
tree0b309bf65dd4ced278a3f2096d3033fa9f65f6e2 /pkgs/os-specific/bsd
parent7f59b4b5295b58659064a91d0bcc8e8a11d0b351 (diff)
netbsd.compat: fix build on darwin
The makefile requires GNU objcopy
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix
index 86c89a995a696..130bce8ad467c 100644
--- a/pkgs/os-specific/bsd/netbsd/default.nix
+++ b/pkgs/os-specific/bsd/netbsd/default.nix
@@ -188,6 +188,8 @@ in lib.makeScopeWithSplicing
       bsdSetupHook netbsdSetupHook
       makeMinimal
       rsync
+    ] ++ lib.optionals stdenv.buildPlatform.isDarwin [
+      buildPackages.binutils
     ];
 
     buildInputs = with self; commonDeps;