lol

libuv: add more workarounds for tests on FreeBSD

+4
+4
pkgs/by-name/li/libuv/package.nix
··· 134 # EOPNOTSUPP when performed in jailed build env 135 "tcp_reuseport" 136 "udp_reuseport" 137 # Fails when built on non-nix FreeBSD 138 # https://github.com/libuv/libuv/issues/4606 139 "fs_event_watch_delete_dir" ··· 142 in 143 lib.optionalString (finalAttrs.finalPackage.doCheck) '' 144 sed '/${tdRegexp}/d' -i test/test-list.h 145 ''; 146 147 nativeBuildInputs = [
··· 134 # EOPNOTSUPP when performed in jailed build env 135 "tcp_reuseport" 136 "udp_reuseport" 137 + # jailed build env does not have a hostname 138 + "gethostname" 139 # Fails when built on non-nix FreeBSD 140 # https://github.com/libuv/libuv/issues/4606 141 "fs_event_watch_delete_dir" ··· 144 in 145 lib.optionalString (finalAttrs.finalPackage.doCheck) '' 146 sed '/${tdRegexp}/d' -i test/test-list.h 147 + # https://github.com/libuv/libuv/issues/4794 148 + substituteInPlace Makefile.am --replace-fail -lutil "-lutil -lm" 149 ''; 150 151 nativeBuildInputs = [