mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
accelio: enable tests
The patch committed with 88471b684e6544da7691937a9b68cefa49d260d5 makes them work again.
This commit is contained in:
parent
3129142f80
commit
8b663509b1
@ -18,9 +18,6 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [ ./fix-printfs.patch ];
|
patches = [ ./fix-printfs.patch ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Don't build broken examples
|
|
||||||
sed -i '/AC_CONFIG_SUBDIRS(\[\(examples\|tests\).*\/kernel/d' configure.ac
|
|
||||||
|
|
||||||
# Allow the installation of xio kernel headers
|
# Allow the installation of xio kernel headers
|
||||||
sed -i 's,/opt/xio,''${out},g' src/kernel/xio/Makefile.in
|
sed -i 's,/opt/xio,''${out},g' src/kernel/xio/Makefile.in
|
||||||
|
|
||||||
@ -29,6 +26,8 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i '\,/sbin/ldconfig,d' src/usr/Makefile.am
|
sed -i '\,/sbin/ldconfig,d' src/usr/Makefile.am
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ libevent ];
|
buildInputs = [ libevent ];
|
||||||
propagatedBuildInputs = [ libibverbs librdmacm ]
|
propagatedBuildInputs = [ libibverbs librdmacm ]
|
||||||
|
Loading…
Reference in New Issue
Block a user