Skip to content

Commit a9691ce

Browse files
committed
music-assistant: yank broken airplay support
The source build ships with native musl binaries that segfault after being patchelf'd. In addition, it supports no dynamic linking and depends on OpenSSL 1.1, which is a non-starter.
1 parent 10288e3 commit a9691ce

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/by-name/mu/music-assistant/package.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ let
4242
pythonPath = python.pkgs.makePythonPath providerDependencies;
4343
in
4444

45+
assert
46+
(lib.elem "airplay" providers)
47+
-> throw "music-assistant: airplay support is missing libraop, a library we will not package because it depends on OpenSSL 1.1.";
48+
4549
python.pkgs.buildPythonApplication rec {
4650
pname = "music-assistant";
4751
version = "2.5.0";
@@ -154,6 +158,11 @@ python.pkgs.buildPythonApplication rec {
154158

155159
pythonImportsCheck = [ "music_assistant" ];
156160

161+
postFixup = ''
162+
# binary native code, segfaults when autopatchelf'd, requires openssl 1.1 to build
163+
rm $out/${python3.sitePackages}/music_assistant/providers/airplay/bin/cliraop-*
164+
'';
165+
157166
passthru = {
158167
inherit
159168
python

0 commit comments

Comments
 (0)