From 47d9ce462b048f33db553f77ebfd2750c18a9d49 Mon Sep 17 00:00:00 2001 From: Alex James Date: Mon, 1 Apr 2024 22:37:43 -0500 Subject: [PATCH] bat: skip file_with_invalid_utf8_filename test This test tries to create a temporary file with a filename that contains invalid UTF-8 bytes, which may fail if TMPDIR is located on a filesystem that performs UTF-8 validation (such as ZFS with utf8only=on). Resolves https://github.com/NixOS/nixpkgs/issues/269631. --- pkgs/by-name/ba/bat/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ba/bat/package.nix b/pkgs/by-name/ba/bat/package.nix index 29de95279e28..3d91608c3246 100644 --- a/pkgs/by-name/ba/bat/package.nix +++ b/pkgs/by-name/ba/bat/package.nix @@ -52,6 +52,8 @@ rustPlatform.buildRustPackage rec { "--skip=pager_more" "--skip=pager_most" "--skip=pager_overwrite" + # Fails if the filesystem performs UTF-8 validation (such as ZFS with utf8only=on) + "--skip=file_with_invalid_utf8_filename" ]; doInstallCheck = true;