tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libaio: fix tests
Jan Malakhovski
7 years ago
556da201
0e3ffe43
+10
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
libaio
default.nix
+10
pkgs/os-specific/linux/libaio/default.nix
···
14
14
sha256 = "1kqpiswjn549s3w3m89bw5qkl7bw5pvq6gp5cdzd926ymlgivj5c";
15
15
}) ];
16
16
17
17
+
postPatch = ''
18
18
+
patchShebangs harness
19
19
+
20
20
+
# Makefile is too optimistic, gcc is too smart
21
21
+
substituteInPlace harness/Makefile \
22
22
+
--replace "-Werror" ""
23
23
+
'';
24
24
+
17
25
makeFlags = "prefix=$(out)";
18
26
19
27
hardeningDisable = stdenv.lib.optional (stdenv.isi686) "stackprotector";
28
28
+
29
29
+
checkTarget = "partcheck"; # "check" needs root
20
30
21
31
meta = {
22
32
description = "Library for asynchronous I/O in Linux";