mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
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…
Reference in a new issue