From 824d40aa0400e547c07c054ed7eddcf42b68955e Mon Sep 17 00:00:00 2001 From: David McFarland Date: Mon, 26 Sep 2022 14:35:14 -0300 Subject: build-dotnet-module: restore for current runtime by default --- pkgs/servers/jellyfin/default.nix | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'pkgs/servers/jellyfin') diff --git a/pkgs/servers/jellyfin/default.nix b/pkgs/servers/jellyfin/default.nix index 4848dcba9f0..1943d107ad0 100644 --- a/pkgs/servers/jellyfin/default.nix +++ b/pkgs/servers/jellyfin/default.nix @@ -12,21 +12,6 @@ , sqlite }: -let - os = if stdenv.isDarwin then "osx" else "linux"; - arch = - with stdenv.hostPlatform; - if isx86_32 then "x86" - else if isx86_64 then "x64" - else if isAarch32 then "arm" - else if isAarch64 then "arm64" - else lib.warn "Unsupported architecture, some image processing features might be unavailable" "unknown"; - musl = lib.optionalString stdenv.hostPlatform.isMusl - (lib.warnIf (arch != "x64") "Some image processing features might be unavailable for non x86-64 with Musl" - "musl-"); - # https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#using-rids - runtimeId = "${os}-${musl}${arch}"; -in buildDotnetModule rec { pname = "jellyfin"; version = "10.8.8"; # ensure that jellyfin-web has matching version @@ -57,7 +42,6 @@ buildDotnetModule rec { ]; dotnet-sdk = dotnetCorePackages.sdk_6_0; dotnet-runtime = dotnetCorePackages.aspnetcore_6_0; - dotnetFlags = [ "--runtime=${runtimeId}" ]; dotnetBuildFlags = [ "--no-self-contained" ]; preInstall = '' -- cgit 1.4.1