sonarr: set RuntimeIdentifier

This commit is contained in:
David McFarland
2024-09-24 20:43:23 -03:00
parent 6582132c12
commit e40ed3a697
+3
View File
@@ -1,4 +1,5 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, buildDotnetModule
, dotnetCorePackages
@@ -24,6 +25,7 @@ let
rev = "v${version}";
hash = "sha256-RDhJUf8P2STTug69EGozW0q87qDE40jf5G7n7pezWeY=";
};
rid = dotnetCorePackages.systemToDotnetRid stdenvNoCC.hostPlatform.system;
in
buildDotnetModule {
pname = "sonarr";
@@ -100,6 +102,7 @@ buildDotnetModule {
"--property:Copyright=Copyright 2014-2024 sonarr.tv (GNU General Public v3)"
"--property:AssemblyVersion=${version}"
"--property:AssemblyConfiguration=main"
"--property:RuntimeIdentifier=${rid}"
];
# Skip manual, integration, automation and platform-dependent tests.