From cebcbaab7a6e5fc72132855f96f3f81ebd567df5 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Fri, 29 May 2026 21:35:29 -0400 Subject: [PATCH] gnupatch: disable flaky test Fixes #525260 (cherry picked from commit 64ae7d0e374a774bb78520e6b0f320e804317d70) --- pkgs/tools/text/gnupatch/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index 99a801c4cc8e..188ac323543f 100644 --- a/pkgs/tools/text/gnupatch/default.nix +++ b/pkgs/tools/text/gnupatch/default.nix @@ -15,8 +15,10 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-+Hzuae7CtPy/YKOWsDCtaqNBXxkqpffuhMrV4R9/WuM="; }; - # This test is filesystem-dependent - observed failing on ZFS - postPatch = lib.optionalString stdenv.hostPlatform.isFreeBSD '' + # This test is filesystem-dependent - observed failing on ZFS. + # It is also just plain flaky: it has been observed failing about 10% + # of the time on btrfs and ext4 too. + postPatch = '' sed -E -i -e '/bad-filenames/d' tests/Makefile.am '';