Skip to content

Commit

Permalink
xen: fixup build with glibc-2.25
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Feb 21, 2017
1 parent cbc343e commit 3d60072
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/applications/virtualization/xen/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ stdenv.mkDerivation {
${flip concatMapStrings xenExtfiles (x: let src = fetchurl x; in ''
cp ${src} xen_ext_files/${src.name}
'')}
# Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.
sed 1i'#include <sys/sysmacros.h>' \
-i tools/blktap2/control/tap-ctl-allocate.c \
-i tools/libxl/libxl_device.c
'';

preConfigure = ''
Expand Down

0 comments on commit 3d60072

Please sign in to comment.