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 authored and wegank committed Jun 20, 2024
1 parent 1ca09c3 commit 7feb10b
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 7feb10b

Please sign in to comment.