parallel-disk-usage: ignore broken test

This commit is contained in:
annalee 2024-02-07 07:56:09 +00:00
parent b21a62832f
commit 8bb910da0d
No known key found for this signature in database

View File

@ -1,8 +1,6 @@
{ { lib
lib, , fetchFromGitHub
fetchFromGitHub, , rustPlatform
rustPlatform,
stdenv,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "parallel-disk-usage"; pname = "parallel-disk-usage";
@ -17,14 +15,17 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-Jk9sNvApq4t/FoEzfjlDT2Td5sr38Jbdo6RoaOVQJK8="; cargoHash = "sha256-Jk9sNvApq4t/FoEzfjlDT2Td5sr38Jbdo6RoaOVQJK8=";
checkFlags = [
# test example is ordered wrong on some systems
# https://github.com/KSXGitHub/parallel-disk-usage/issues/251
"--skip=multiple_names"
];
meta = with lib; { meta = with lib; {
description = "Highly parallelized, blazing fast directory tree analyzer"; description = "Highly parallelized, blazing fast directory tree analyzer";
homepage = "https://github.com/KSXGitHub/parallel-disk-usage"; homepage = "https://github.com/KSXGitHub/parallel-disk-usage";
license = licenses.asl20; license = licenses.asl20;
maintainers = [maintainers.peret]; maintainers = [maintainers.peret];
mainProgram = "pdu"; mainProgram = "pdu";
# broken due to unit test failure
# https://github.com/KSXGitHub/parallel-disk-usage/issues/251
broken = stdenv.isLinux && stdenv.isAarch64;
}; };
} }