From aef812c6e38fffa548d3f5821713b6b1efbd74b6 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 2 Nov 2025 22:19:44 -0800 Subject: [PATCH] borgbackup: fix non-deterministic builds on darwin --- pkgs/by-name/bo/borgbackup/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/bo/borgbackup/package.nix b/pkgs/by-name/bo/borgbackup/package.nix index f17b4f0859aa..be12bcedeedd 100644 --- a/pkgs/by-name/bo/borgbackup/package.nix +++ b/pkgs/by-name/bo/borgbackup/package.nix @@ -120,6 +120,11 @@ python.pkgs.buildPythonApplication rec { "test_get_keys_dir" "test_get_security_dir" "test_get_config_dir" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Tests create files with append-only flags that cause cleanup issues on macOS + "test_extract_restores_append_flag" + "test_file_status_excluded" ]; preCheck = ''