diff --git a/pkgs/servers/misc/navidrome/default.nix b/pkgs/servers/misc/navidrome/default.nix index 17e648e59ab1..ea1cae99dd99 100644 --- a/pkgs/servers/misc/navidrome/default.nix +++ b/pkgs/servers/misc/navidrome/default.nix @@ -32,9 +32,9 @@ stdenv.mkDerivation rec { runHook postInstall ''; - postFixup = '' + postFixup = optionalString ffmpegSupport '' wrapProgram $out/bin/navidrome \ - --prefix PATH : ${makeBinPath (optional ffmpegSupport ffmpeg)} + --prefix PATH : ${makeBinPath [ ffmpeg ]} ''; passthru.tests.navidrome = nixosTests.navidrome;