epoll-shim: fix build on FreeBSD

This commit is contained in:
Artemis Tosini
2026-02-12 16:46:25 -05:00
parent c9bea97367
commit 794802b1e5
+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;