@@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
1818 patches = [ ./fix-printfs.patch ];
1919
2020 postPatch = ''
21+ # Don't build broken examples
22+ sed -i '/AC_CONFIG_SUBDIRS(\[\(examples\|tests\).*\/kernel/d' configure.ac
23+
2124 # Allow the installation of xio kernel headers
2225 sed -i 's,/opt/xio,''${out},g' src/kernel/xio/Makefile.in
2326
@@ -26,8 +29,6 @@ stdenv.mkDerivation rec {
2629 sed -i '\,/sbin/ldconfig,d' src/usr/Makefile.am
2730 '';
2831
29− doCheck = true;
30−
3132 nativeBuildInputs = [ autoreconfHook ];
3233 buildInputs = [ libevent ];
3334 propagatedBuildInputs = [ libibverbs librdmacm ]