summary refs log tree commit diff
path: root/pkgs/os-specific/bsd
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-04-23 12:30:48 +0000
committerAlyssa Ross <hi@alyssa.is>2021-04-23 14:18:48 +0000
commitb4373892ced47bb816c9fe2f971cc868d09af3d1 (patch)
tree2e04fb0b27587e965ed61ced083a5c4f9b4f2ede /pkgs/os-specific/bsd
parentbb8d9a49ff9c092d24734ab50cff9d88b736d848 (diff)
downloadnixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.tar
nixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.tar.gz
nixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.tar.bz2
nixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.tar.lz
nixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.tar.xz
nixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.tar.zst
nixpkgs-b4373892ced47bb816c9fe2f971cc868d09af3d1.zip
netbsd.libterminfo: add missing bsdSetupHook dep
82c231d17e5 ("netbsd: Generalize builder to any-bsd setup hook")
missed libterminfo when it added bsdSetupHook to every other
package.  (I checked it didn't miss anything else.)

It also didn't change a NETBSDSRCDIR to BSDSRCDIR, but in fairness
that line was added about half an hour before the setupHook change was
merged in a16384e1186.

Fixes: 82c231d17e5 ("netbsd: Generalize builder to any-bsd setup hook")
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r--pkgs/os-specific/bsd/netbsd/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix
index 5492ba9087e..64cf3214d5e 100644
--- a/pkgs/os-specific/bsd/netbsd/default.nix
+++ b/pkgs/os-specific/bsd/netbsd/default.nix
@@ -591,6 +591,7 @@ in lib.makeScopeWithSplicing
     version = "8.0";
     sha256 = "14gp0d6fh6zjnbac2yjhyq5m6rca7gm6q1s9gilhzpdgl9m7vb9r";
     nativeBuildInputs = with buildPackages.netbsd; [
+      bsdSetupHook
       makeMinimal install tsort lorder mandoc statHook nbperf tic
     ];
     buildInputs = with self; compatIfNeeded;
@@ -601,7 +602,7 @@ in lib.makeScopeWithSplicing
         --replace '#include <curses.h>' 'void use_env(bool);'
     '';
     postBuild = ''
-      make -C $NETBSDSRCDIR/share/terminfo BINDIR=$out/share
+      make -C $BSDSRCDIR/share/terminfo BINDIR=$out/share
     '';
     postInstall = ''
       make -C $BSDSRCDIR/share/terminfo BINDIR=$out/share install