| 13 Nov 2024 |
dish [Fox/It/She] | oh okay it's failing with a different error(its trying to hardcode dotnet compiler paths in the source code?) | 18:17:20 |
dish [Fox/It/She] | Download enemizer.log | 18:19:57 |
dish [Fox/It/She] | here's the logfile, if you can make any sense of it(I can't) | 18:20:09 |
| inayet joined the room. | 22:15:21 |
| 14 Nov 2024 |
Corngood | In reply to @pyrox:pyrox.dev oh okay it's failing with a different error(its trying to hardcode dotnet compiler paths in the source code?) 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.
| 13:45:59 |
Corngood | Here's the PR for the latest round of dotnet upgrades (with 9.0 final), including some infrastructure changes: https://github.com/NixOS/nixpkgs/pull/355753
There are some breaking changes, so if anyone maintains dotnet derivations outside of nixpkgs, I'm interested in test cases or feedback. | 13:47:58 |
| 16 Nov 2024 |
| meebey aka Mirco Bauer joined the room. | 01:14:09 |
Emma [it/its] | In reply to @corngood:corngood.com Here's the PR for the latest round of dotnet upgrades (with 9.0 final), including some infrastructure changes: https://github.com/NixOS/nixpkgs/pull/355753
There are some breaking changes, so if anyone maintains dotnet derivations outside of nixpkgs, I'm interested in test cases or feedback. i wonder if we'll see a dotnet-sdk_9 alias as with prior versions? | 17:29:24 |
Emma [it/its] | in other news: seems running a dotnet 9 app with current nixpkgs doesnt work, so now im using this PR's version of dotnet 9 and it works 🎉 | 17:37:06 |
Corngood | In reply to @emma:rory.gay i wonder if we'll see a dotnet-sdk_9 alias as with prior versions? I'm open to this. I originally had a big plan to rearrange the package names, but this seems like it might still be the most intuitive way. 9.0 final seems like a logical time to do it.
I'd also like to default things to the source-built sdks whenever possible, but they aren't building reliably on Darwin at the moment. | 22:43:01 |
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 |