vrcadvert: .NET 6 -> .NET 8

This commit is contained in:
Gutyina Gergő
2024-12-18 23:57:05 +01:00
parent 3ff58f5e65
commit 4674410ccd
+10 -1
View File
@@ -17,12 +17,21 @@ buildDotnetModule rec {
hash = "sha256-noIu5LV0yva94Kmdr39zb0kKXDaIrQ8DIplCj3aTIbQ=";
};
dotnet-sdk = dotnetCorePackages.sdk_6_0;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
dotnetFlags = [ "-p:RuntimeFrameworkVersion=${dotnet-runtime.version}" ];
nugetDeps = ./deps.nix;
executables = [ "VrcAdvert" ];
postPatch = ''
substituteInPlace VrcAdvert.csproj \
--replace-fail 'net6.0' 'net8.0'
substituteInPlace global.json \
--replace-fail '6.0.0' '8.0.0'
'';
doInstallCheck = true;
nativeInstallCheckInputs = [
versionCheckHook