From d646b67f5bb5796605475fa88a9bb9b644a6bef3 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 15 Oct 2025 16:23:44 +0300 Subject: [PATCH] beets: add reflink dependency for reflink option Fixes #437308 . --- pkgs/tools/audio/beets/common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix index 6e232ef1c66f..132a8f5aebbe 100644 --- a/pkgs/tools/audio/beets/common.nix +++ b/pkgs/tools/audio/beets/common.nix @@ -103,6 +103,10 @@ python3Packages.buildPythonApplication { platformdirs pyyaml unidecode + # Can be built without it, but is useful on btrfs systems, and doesn't + # add too much to the closure. See: + # https://github.com/NixOS/nixpkgs/issues/437308 + reflink typing-extensions lap ] @@ -202,6 +206,9 @@ python3Packages.buildPythonApplication { "test_reject_different_art" # touches network "test_merge_duplicate_album" + # The existence of the dependency reflink (see comment above), causes this + # test to be run, and it fails in the sandbox. + "test_successful_reflink" ]; # Perform extra "sanity checks", before running pytest tests.