diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-11-06 20:18:15 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-11-06 20:18:43 +0100 |
commit | 1ac1581253579ee49e469752ec0c0172c6cced7e (patch) | |
tree | d783dd398db4db76072dc0b5dd34bcfffd2f4cb7 /pkgs/os-specific/linux/libselinux | |
parent | 3562c2cfa721576a38a9c6783d551015c3242613 (diff) |
libselinux: fix missing include after glibc-2.26
Diffstat (limited to 'pkgs/os-specific/linux/libselinux')
-rw-r--r-- | pkgs/os-specific/linux/libselinux/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/libselinux/default.nix b/pkgs/os-specific/linux/libselinux/default.nix index f20efcb323734..541ead7258f6e 100644 --- a/pkgs/os-specific/linux/libselinux/default.nix +++ b/pkgs/os-specific/linux/libselinux/default.nix @@ -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 = '' |