epoll-shim: fix build on FreeBSD (#489934)

This commit is contained in:
Weijia Wang
2026-02-13 08:04:56 +00:00
committed by GitHub
+3
View File
@@ -29,6 +29,9 @@ stdenv.mkDerivation (finalAttrs: {
"-DALLOWS_ONESHOT_TIMERS_WITH_TIMEOUT_ZERO=YES"
];
# fortify causes redefinition errors in the interposer
hardeningDisable = lib.optional stdenv.hostPlatform.isFreeBSD "fortify";
# https://github.com/jiixyj/epoll-shim/issues/41
# https://github.com/jiixyj/epoll-shim/pull/34
doCheck = !stdenv.hostPlatform.isDarwin;