mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
libselinux: fix missing include after glibc-2.26
This commit is contained in:
parent
3562c2cfa7
commit
1ac1581253
@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = optionalString enablePython ''
|
||||
sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile
|
||||
''
|
||||
+ ''
|
||||
sed '1i#include <sys/uio.h>' -i src/setrans_client.c
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user