| 16 Nov 2024 |
Emma [it/its] | oh, pacakge renames? | 22:43:53 |
Corngood | The draft/discussion was here: https://github.com/NixOS/nixpkgs/pull/286134
But I think it ended up being a bit overcomplicated | 23:23:07 |
dish [Fox/It/She] | In reply to @corngood:corngood.com
I think what's happening here is it's using an old version of Microsoft.Net.Compilers which doesn't seem to work on platforms where a .net executable can't be executed directly.
If I remove <PackageReference Include="Microsoft.Net.Compilers" Version="2.3.2" /> from both projects, and also remove this:
<Content Include="enemizerBasePatch.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="exported_symbols.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
it builds. thank you, worked perfectly. | 23:36:22 |
| 20 Nov 2024 |
| inayet removed their profile picture. | 00:59:33 |
| 23 Nov 2024 |
Emma [it/its] | Redacted or Malformed Event | 18:12:56 |
| 24 Nov 2024 |
| alazy joined the room. | 04:26:29 |
| 28 Nov 2024 |
Matt Sturgeon | Hi, I just got started bumping nexusmods-app to v0.7.0.
Upstream have updated dotnet 8 -> 9, however it looks like some components still expect dotnet 8? I get this error when attempting to build the updated derivation if I bump dotnet to sdk 9:
NexusMods.Networking.Downloaders -> /build/source/src/Networking/NexusMods.Networking.Downloaders/bin/Release/net9.0/NexusMods.Networking.Downloaders.dll
You must install or update .NET to run this application.
App: /nix/store/gnviywnlb7wqxz4dxcz9k55fbqpch51w-StrawberryShake.Server-14.1.0/share/nuget/packages/strawberryshake.server/14.1.0/tools/net8/dotnet-graphql.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: /nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/
The following frameworks were found:
9.0.0 at [/nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=linux-x64&os=linux
/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/StrawberryShake.Server.targets(73,5): error MSB3073: The command "dotnet "/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/../tools/net8/dotnet-graphql.dll" generate "/>
Am I supposed to make multiple dotnet versions available during the build? If so how? If not, any other ideas?
| 18:35:28 |
Matt Sturgeon | Download build.log | 18:36:22 |
Matt Sturgeon | * Hi, I just got started bumping nexusmods-app to v0.7.0 (wip branch).
Upstream have updated dotnet 8 -> 9, however it looks like some components still expect dotnet 8? I get this error when attempting to build the updated derivation if I bump dotnet to sdk 9:
NexusMods.Networking.Downloaders -> /build/source/src/Networking/NexusMods.Networking.Downloaders/bin/Release/net9.0/NexusMods.Networking.Downloaders.dll
You must install or update .NET to run this application.
App: /nix/store/gnviywnlb7wqxz4dxcz9k55fbqpch51w-StrawberryShake.Server-14.1.0/share/nuget/packages/strawberryshake.server/14.1.0/tools/net8/dotnet-graphql.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: /nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/
The following frameworks were found:
9.0.0 at [/nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=linux-x64&os=linux
/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/StrawberryShake.Server.targets(73,5): error MSB3073: The command "dotnet "/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/../tools/net8/dotnet-graphql.dll" generate "/>
Am I supposed to make multiple dotnet versions available during the build? If so how? If not, any other ideas?
| 18:39:37 |
| 29 Nov 2024 |
l0b0 | In reply to @mattsturg:matrix.org
Hi, I just got started bumping nexusmods-app to v0.7.0 (wip branch).
Upstream have updated dotnet 8 -> 9, however it looks like some components still expect dotnet 8? I get this error when attempting to build the updated derivation if I bump dotnet to sdk 9:
NexusMods.Networking.Downloaders -> /build/source/src/Networking/NexusMods.Networking.Downloaders/bin/Release/net9.0/NexusMods.Networking.Downloaders.dll
You must install or update .NET to run this application.
App: /nix/store/gnviywnlb7wqxz4dxcz9k55fbqpch51w-StrawberryShake.Server-14.1.0/share/nuget/packages/strawberryshake.server/14.1.0/tools/net8/dotnet-graphql.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: /nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/
The following frameworks were found:
9.0.0 at [/nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=linux-x64&os=linux
/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/StrawberryShake.Server.targets(73,5): error MSB3073: The command "dotnet "/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/../tools/net8/dotnet-graphql.dll" generate "/>
Am I supposed to make multiple dotnet versions available during the build? If so how? If not, any other ideas?
Might be worth asking/checking upstream how they managed to update if their dependencies still require v8. | 08:22:18 |
l0b0 | In reply to @mattsturg:matrix.org
Hi, I just got started bumping nexusmods-app to v0.7.0 (wip branch).
Upstream have updated dotnet 8 -> 9, however it looks like some components still expect dotnet 8? I get this error when attempting to build the updated derivation if I bump dotnet to sdk 9:
NexusMods.Networking.Downloaders -> /build/source/src/Networking/NexusMods.Networking.Downloaders/bin/Release/net9.0/NexusMods.Networking.Downloaders.dll
You must install or update .NET to run this application.
App: /nix/store/gnviywnlb7wqxz4dxcz9k55fbqpch51w-StrawberryShake.Server-14.1.0/share/nuget/packages/strawberryshake.server/14.1.0/tools/net8/dotnet-graphql.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: /nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/
The following frameworks were found:
9.0.0 at [/nix/store/a03c70i7x6rjdr6vikczsp5ck3v6rixh-dotnet-sdk-9.0.100/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=linux-x64&os=linux
/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/StrawberryShake.Server.targets(73,5): error MSB3073: The command "dotnet "/build/nuget.5WFLlF/fallback/strawberryshake.server/14.1.0/build/../tools/net8/dotnet-graphql.dll" generate "/>
Am I supposed to make multiple dotnet versions available during the build? If so how? If not, any other ideas?
* Might be worth asking/checking upstream how they managed to update if their dependencies still require .NET 8. Looking at the upstream diff I don't see how they brought .NET 8 into the build originally - maybe it's on the ubuntu-latest image? | 08:26:43 |
Matt Sturgeon | Good idea, I've asked in the nexusmods-app discord if .net8 is intended to be a transitive dep. Unless they make a hotfix release, I think we'll still need a solution for how to package v0.7.0 in nixpkgs though, unless there's a sane way to patch it 🤔 | 10:12:09 |
Matt Sturgeon |  Download image.png | 10:18:50 |
Matt Sturgeon | Apparently buildDotnetModule is trying to run libs? cc Corngood
I guess this usually a non-issue and fails gracefully with a warning, but in this case the library we're trying to run is failing hard with an error because it expects .net8?
| 10:28:56 |
Corngood | I haven't looked into this too closely, but do you just need to use combinePackages to combine sdk 8 and 9 or sdk 9 and runtime 8? | 12:24:14 |
Corngood | There are a lot of places where combinePackages is currently being used that really only need the nuget packages from another SDK/runtime. I'm actually trying to clean that up right now.
This looks like something else. Like it actually needs the net8 runtime, which is odd.
| 13:02:28 |
Matt Sturgeon |
You can also set this to the result of dotnetSdkPackages.combinePackages, if the project uses multiple SDKs to build.
Ah, I should have RTFM before asking here! Thanks for the pointer
| 17:27:35 |
Matt Sturgeon | https://nixos.org/manual/nixpkgs/unstable/#packaging-a-dotnet-application | 17:29:12 |
Matt Sturgeon | PR now up: https://github.com/NixOS/nixpkgs/pull/360174 | 17:54:45 |
| 1 Dec 2024 |
Emma [it/its] | not sure if its just a me thing, but is Rider broken on unstable currently? | 00:54:04 |
Emma [it/its] | i cant open any projects under neither steam-run or plain | 00:54:20 |
Emma [it/its] | 2024-12-01 02:09:50,925 [ 3385] SEVERE - #c.i.o.p.i.ProjectManagerImpl - project loading failed
java.lang.IllegalStateException: No protocolHost for the application
at com.jetbrains.rider.protocol.ApplicationProtocolKt.K(ApplicationProtocol.kt:73)
at com.jetbrains.rider.protocol.ApplicationProtocolKt.getProtocolManager(ApplicationProtocol.kt:22)
at com.jetbrains.rider.projectView.SolutionInitializer.initSolution(SolutionInitializer.kt:37)
at com.jetbrains.rider.projectView.SolutionManager.K(SolutionManager.kt:465)
[...]
| 01:10:14 |
Emma [it/its] | i couldnt find anything on their bug tracker about it | 01:10:24 |
Emma [it/its] | can reproduce if i pull Rider from 24.11 | 03:04:16 |
Emma [it/its] | okay, importing rider from 24.05 works fine, in comparison | 04:08:23 |
Emma [it/its] | so it seems to be an issue with whatever rider version is shipped in 24.11 and unstable | 04:08:52 |
| 2 Dec 2024 |
| dish [Fox/It/She] changed their profile picture. | 19:59:20 |
Corngood | https://github.com/NixOS/nixpkgs/pull/360923
Here's a PR that adds dotnet-sdk_9, etc. I intend to backport it to 24.11.
I'm curious what people think about sdk/runtime naming. We currently have minor version SDKs that aren't accessible at the top level, e.g. dotnetCorePackages.sdk_8_0_1xx.
Should we add dotnet-sdk_8_0_1xx?
| 23:02:20 |
| 3 Dec 2024 |
| lostmsu joined the room. | 01:41:23 |
lostmsu | Just saying hi as a new member here | 01:42:27 |