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