netbsd.libterminfo: add missing bsdSetupHook dep

82c231d17e ("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 a16384e118.

Fixes: 82c231d17e ("netbsd: Generalize builder to any-bsd setup hook")
This commit is contained in:
Alyssa Ross 2021-04-23 12:30:48 +00:00
parent bb8d9a49ff
commit b4373892ce

View file

@ -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