From 6f88eaab1bc294ce147608a9b5043a275b8c6c56 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 21 Nov 2024 14:19:35 +0100 Subject: [PATCH] beets: allow darwin builds --- pkgs/tools/audio/beets/common.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix index ac1b59a4f289..c8064a6310d0 100644 --- a/pkgs/tools/audio/beets/common.nix +++ b/pkgs/tools/audio/beets/common.nix @@ -125,6 +125,8 @@ python3Packages.buildPythonApplication { responses ] ++ pluginWrapperBins; + __darwinAllowLocalNetworking = true; + disabledTestPaths = lib.flatten (attrValues (lib.mapAttrs (_: v: v.testPaths) disabledPlugins)); inherit disabledTests; @@ -173,7 +175,7 @@ EOF homepage = "https://beets.io"; license = licenses.mit; maintainers = with maintainers; [ aszlig doronbehar lovesegfault pjones ]; - platforms = platforms.linux; + platforms = platforms.linux ++ platforms.darwin; mainProgram = "beet"; }; }