libaio: fix tests

+10
+10
pkgs/os-specific/linux/libaio/default.nix
··· 14 14 sha256 = "1kqpiswjn549s3w3m89bw5qkl7bw5pvq6gp5cdzd926ymlgivj5c"; 15 15 }) ]; 16 16 17 + postPatch = '' 18 + patchShebangs harness 19 + 20 + # Makefile is too optimistic, gcc is too smart 21 + substituteInPlace harness/Makefile \ 22 + --replace "-Werror" "" 23 + ''; 24 + 17 25 makeFlags = "prefix=$(out)"; 18 26 19 27 hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector"; 28 + 29 + checkTarget = "partcheck"; # "check" needs root 20 30 21 31 meta = { 22 32 description = "Library for asynchronous I/O in Linux";