From d60c311fae40309991d735478f29d638d548500e Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 18 Jun 2024 11:13:04 +0300 Subject: [PATCH] jellyfin: fix makeWrapperArgs after #313005 (cherry picked from commit 8e4c724f83c83f82bd356a58d5c57b37948157e1) --- pkgs/by-name/je/jellyfin/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/je/jellyfin/package.nix b/pkgs/by-name/je/jellyfin/package.nix index b4392dcfa4315..ea916aff0219e 100644 --- a/pkgs/by-name/je/jellyfin/package.nix +++ b/pkgs/by-name/je/jellyfin/package.nix @@ -36,12 +36,10 @@ buildDotnetModule rec { dotnet-runtime = dotnetCorePackages.aspnetcore_8_0; dotnetBuildFlags = [ "--no-self-contained" ]; - preInstall = '' - makeWrapperArgs+=( - --add-flags "--ffmpeg ${jellyfin-ffmpeg}/bin/ffmpeg" - --add-flags "--webdir ${jellyfin-web}/share/jellyfin-web" - ) - ''; + makeWrapperArgs = [ + "--add-flags" "--ffmpeg=${jellyfin-ffmpeg}/bin/ffmpeg" + "--add-flags" "--webdir=${jellyfin-web}/share/jellyfin-web" + ]; passthru.tests = { smoke-test = nixosTests.jellyfin;