Skip to content

Commit 12d14a9

Browse files
authored
openutau: bump dotnet version 7 -> 8 (#340611)
2 parents 21595ae + 71b36a1 commit 12d14a9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pkgs/applications/audio/openutau/default.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ buildDotnetModule rec {
1919
hash = "sha256-HE0KxPKU7tYZbYiCL8sm6I/NZiX0MJktt+5d6qB1A2E=";
2020
};
2121

22-
dotnet-sdk = dotnetCorePackages.sdk_7_0;
23-
dotnet-runtime = dotnetCorePackages.runtime_7_0;
22+
dotnet-sdk = dotnetCorePackages.sdk_8_0;
23+
dotnet-runtime = dotnetCorePackages.runtime_8_0;
2424

2525
# [...]/Microsoft.NET.Sdk.targets(157,5): error MSB4018: The "GenerateDepsFile" task failed unexpectedly. [[...]/OpenUtau.Core.csproj]
2626
# [...]/Microsoft.NET.Sdk.targets(157,5): error MSB4018: System.IO.IOException: The process cannot access the file '[...]/OpenUtau.Core.deps.json' because it is being used by another process. [[...]/OpenUtau.Core.csproj]
@@ -41,11 +41,11 @@ buildDotnetModule rec {
4141
# socket cannot bind to localhost on darwin for tests
4242
doCheck = !stdenv.hostPlatform.isDarwin;
4343

44-
# net7.0 replacement needed until upstream bumps to dotnet 7
44+
# net8.0 replacement needed until upstream bumps to dotnet 8
4545
postPatch = ''
4646
substituteInPlace OpenUtau/OpenUtau.csproj OpenUtau.Test/OpenUtau.Test.csproj --replace \
4747
'<TargetFramework>net6.0</TargetFramework>' \
48-
'<TargetFramework>net7.0</TargetFramework>'
48+
'<TargetFramework>net8.0</TargetFramework>'
4949
5050
substituteInPlace OpenUtau/Program.cs --replace \
5151
'/usr/bin/fc-match' \
@@ -74,12 +74,7 @@ buildDotnetModule rec {
7474
# some deps and worldline resampler
7575
binaryNativeCode
7676
];
77-
license = with licenses; [
78-
# dotnet code and worldline resampler binary
79-
mit
80-
# worldline resampler binary - no source is available (hence "unfree") but usage of the binary is MIT
81-
unfreeRedistributable
82-
];
77+
license = licenses.mit;
8378
maintainers = [ ];
8479
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
8580
mainProgram = "OpenUtau";

0 commit comments

Comments
 (0)