diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-01-20 15:59:20 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-01-23 00:21:22 +0100 |
commit | 894da51750f8507f701457948756642df78d3923 (patch) | |
tree | 30822e20091aa236bd9e09fa5a8e12e40713069f /pkgs/servers/diod | |
parent | 8045baf09d076dac3d777a5ff6b02d3461799f1d (diff) |
diod: fix build w/glibc-2.30
For compatibility with newer glibc versions, `sys/sysmacros.h` needs to
be included.
Diffstat (limited to 'pkgs/servers/diod')
-rw-r--r-- | pkgs/servers/diod/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/diod/default.nix b/pkgs/servers/diod/default.nix index cf81d9b4b9af..9e33a8c7910e 100644 --- a/pkgs/servers/diod/default.nix +++ b/pkgs/servers/diod/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h + sed -i -e '/sys\/types\.h>/a #include <sys/sysmacros.h>' diod/ops.c ''; buildInputs = [ munge lua libcap perl ncurses ]; |