From cacfa997c1940097e679fa89a127ff2680790aed Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Sat, 16 Nov 2024 14:25:03 -0700 Subject: [PATCH] libuv: disable some tests on FreeBSD --- pkgs/development/libraries/libuv/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/libuv/default.nix b/pkgs/development/libraries/libuv/default.nix index 181462dc39dde..12fee00ae9fc5 100644 --- a/pkgs/development/libraries/libuv/default.nix +++ b/pkgs/development/libraries/libuv/default.nix @@ -79,6 +79,12 @@ stdenv.mkDerivation (finalAttrs: { # I observe this test failing with some regularity on ARMv7: # https://github.com/libuv/libuv/issues/1871 "shutdown_close_pipe" + ] ++ lib.optionals stdenv.hostPlatform.isFreeBSD [ + # EOPNOTSUPP when performed in jailed build env + "tcp_reuseport" "udp_reuseport" + # Fails when built on non-nix FreeBSD + # https://github.com/libuv/libuv/issues/4606 + "fs_event_watch_delete_dir" ]; tdRegexp = lib.concatStringsSep "\\|" toDisable; in lib.optionalString (finalAttrs.finalPackage.doCheck) ''