Skip to content

Commit

Permalink
jellyfin: fix makeWrapperArgs after NixOS#313005
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Jun 18, 2024
1 parent 2e1ed6a commit 8e4c724
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pkgs/by-name/je/jellyfin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8e4c724

Please sign in to comment.