txr: add include to fix w/musl
This commit is contained in:
parent
68d725d0fd
commit
2dd40bf158
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ bison flex ];
|
||||
buildInputs = [ libffi ];
|
||||
|
||||
# fix usage of off_t without include
|
||||
postPatch = ''
|
||||
sed -i '1i#include <sys/types.h>' sysif.h
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Reference in a new issue