summary refs log tree commit diff
path: root/pkgs/os-specific/bsd
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-04-27 01:59:36 +0000
committerMatthew Bauer <mjbauer95@gmail.com>2018-04-27 01:59:36 +0000
commitddc23593e1885e04663fe735e29c4f45978a6d87 (patch)
treedfa0acb3970ecd8e568c649ecaaa6309d7da79e1 /pkgs/os-specific/bsd
parent968e8a1099859bf41cc34ca453bda897cdb8380c (diff)
downloadnixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.tar
nixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.tar.gz
nixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.tar.bz2
nixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.tar.lz
nixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.tar.xz
nixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.tar.zst
nixpkgs-ddc23593e1885e04663fe735e29c4f45978a6d87.zip
netbsd: fix links installer
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix
index f64c36932e3..f0220fc05d2 100644
--- a/pkgs/os-specific/bsd/netbsd/default.nix
+++ b/pkgs/os-specific/bsd/netbsd/default.nix
@@ -280,6 +280,9 @@ let
         --replace '-o ''${DEBUGOWN} -g ''${DEBUGGRP}' ""
       substituteInPlace $NETBSDSRCDIR/share/mk/bsd.doc.mk \
         --replace '-o ''${DOCOWN} -g ''${DOCGRP}' ""
+      substituteInPlace $NETBSDSRCDIR/share/mk/bsd.links.mk \
+        --replace '-o ''${LINKSOWN_''${.ALLSRC:T}:U''${LINKSOWN}}' "" \
+        --replace '-g ''${LINKSGRP_''${.ALLSRC:T}:U''${LINKSGRP}}' ""
       substituteInPlace $NETBSDSRCDIR/share/mk/bsd.man.mk \
         --replace '-o ''${MANOWN} -g ''${MANGRP}' ""
       substituteInPlace $NETBSDSRCDIR/share/mk/bsd.files.mk \
@@ -338,6 +341,7 @@ in rec {
     patchPhase = ''
       sed -i '1i #include <time.h>' adventure/save.c
     '';
+    buildInputs = [ compat libcurses ];
   };
 
   who = netBSDDerivation {