netbsd.libedit: fix build

This commit is contained in:
Alyssa Ross 2021-04-30 13:59:47 +00:00
parent 22035d0518
commit 29271ef915

View file

@ -570,6 +570,8 @@ in lib.makeScopeWithSplicing
sha256 = "0pmqh2mkfp70bwchiwyrkdyq9jcihx12g1awd6alqi9bpr3f9xmd";
buildInputs = with self; [ libterminfo libcurses ];
propagatedBuildInputs = with self; compatIfNeeded;
SHLIBINSTALLDIR = "$(out)/lib";
makeFlags = [ "LIBDO.terminfo=${self.libterminfo}/lib" ];
postPatch = ''
sed -i '1i #undef bool_t' el.h
substituteInPlace config.h \