summary refs log tree commit diff
path: root/pkgs/os-specific/bsd/netbsd
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/netbsd
parent7f59b4b5295b58659064a91d0bcc8e8a11d0b351 (diff)
downloadnixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.tar
nixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.tar.gz
nixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.tar.bz2
nixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.tar.lz
nixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.tar.xz
nixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.tar.zst
nixpkgs-d43df749ac4779cdb3f53146c8c1ef66b4f33e33.zip
netbsd.compat: fix build on darwin
The makefile requires GNU objcopy
Diffstat (limited to 'pkgs/os-specific/bsd/netbsd')
-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 86c89a995a6..130bce8ad46 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;