musikcube: fix rpath for musikcube

This commit is contained in:
Alexis Hildebrandt 2022-07-25 23:11:12 +02:00
parent a4d9fb078b
commit e44ef9d7ee

View file

@ -76,6 +76,11 @@ stdenv.mkDerivation rec {
"-DDISABLE_STRIP=true"
];
postFixup = if stdenv.hostPlatform.isDarwin then ''
install_name_tool -add_rpath $out/share/${pname} $out/share//${pname}/${pname}
install_name_tool -add_rpath $out/share/${pname} $out/share//${pname}/${pname}d
'' else "";
meta = with lib; {
description = "A fully functional terminal-based music player, library, and streaming audio server";
homepage = "https://musikcube.com/";