diff --git a/pkgs/servers/jellyfin/default.nix b/pkgs/servers/jellyfin/default.nix index 9adc513307cc..932081ad22fe 100644 --- a/pkgs/servers/jellyfin/default.nix +++ b/pkgs/servers/jellyfin/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchurl, unzip, sqlite, makeWrapper, dotnetCorePackages, ffmpeg, - fontconfig, freetype }: + fontconfig, freetype, nixosTests }: let os = if stdenv.isDarwin then "osx" else "linux"; @@ -49,6 +49,10 @@ in stdenv.mkDerivation rec { --add-flags "$out/opt/jellyfin/jellyfin.dll --ffmpeg ${ffmpeg}/bin/ffmpeg" ''; + passthru.tests = { + smoke-test = nixosTests.jellyfin; + }; + meta = with stdenv.lib; { description = "The Free Software Media System"; homepage = "https://jellyfin.github.io/";