roon-server: use makeBinPath instead of propagatedBuildInputs

This commit is contained in:
Bernardo Meurer 2021-11-09 22:31:08 -08:00
parent 99ee3ee290
commit bb7c17f1e1
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
propagatedBuildInputs = [ alsa-utils cifs-utils ffmpeg ];
installPhase =
let
# NB: While this might seem like odd behavior, it's what Roon expects. The
@ -57,6 +55,7 @@ stdenv.mkDerivation rec {
--argv0 "$binName" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ icu66 openssl ]}" \
--prefix PATH : "$dotnetDir" \
--prefix PATH : "${lib.makeBinPath [ alsa-utils cifs-utils ffmpeg ]}" \
--run "cd $binDir" \
--set DOTNET_ROOT "$dotnetDir"
)