From 805c37dde65a6fc9a7acebfc6c81942453196a67 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 22 May 2026 11:01:13 -0400 Subject: [PATCH] libarchive: Disable string conversion test on FreeBSD --- pkgs/by-name/li/libarchive/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libarchive/package.nix b/pkgs/by-name/li/libarchive/package.nix index 9469def9b188..8f9f756a2ee9 100644 --- a/pkgs/by-name/li/libarchive/package.nix +++ b/pkgs/by-name/li/libarchive/package.nix @@ -65,6 +65,11 @@ stdenv.mkDerivation (finalAttrs: { # bsdcpio: linkfile: large inode number truncated: Numerical result out of range "cpio/test/test_basic.c" "cpio/test/test_format_newc.c" + ] + ++ lib.optionals stdenv.hostPlatform.isFreeBSD [ + # Locales are broken while building FreeBSD stdenv + # Optimally they would be fixed, but it is challenging to debug. + "libarchive/test/test_archive_string_conversion.c" ]; removeTest = testPath: '' substituteInPlace Makefile.am --replace-fail "${testPath}" ""