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}" ""