!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

121 Members
24 Servers

Load older messages


SenderMessageTime
24 Sep 2025
@whovian9369:matrix.orgWhovian9369 So separate dotnet-{runtime,sdk} wouldn't work for the former? 04:12:46
@corngood:corngood.comCorngoodI don't think it'll work because the muxer can't find it and only one will be in the path 04:13:32
@whovian9369:matrix.orgWhovian9369I'll probably have to mess with that on my own then, bleh. Thanks for the time!04:14:13
30 Sep 2025
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) joined the room.16:05:18
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) 16:06:51
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) left the room.18:39:32
5 Oct 2025
@rosssmyth:matrix.org@rosssmyth:matrix.org left the room.01:47:21
@emma:rory.gayEmma [it/its]huh, i gotta build dotnet 10 from source23:55:59
@emma:rory.gayEmma [it/its]that doesnt sound very positive23:56:29
@emma:rory.gayEmma [it/its]

ah, seems it failed on hydra, and logs arent available: https://hydra.nixos.org/build/308971738

was cancelled though

23:59:38
6 Oct 2025
@corngood:corngood.comCorngoodhttps://github.com/NixOS/nixpkgs/issues/431811. I haven't been able to get a core dump or find a way to reproduce it.00:11:05
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
13:35:03
@emma:rory.gayEmma [it/its]thought it would take more than half an hour to build dotnet-sdk 10 lol13:35:14
@emma:rory.gayEmma [it/its]was unable to reproduce here too13:36:01
@corngood:corngood.comCorngoodIf anyone has more rights than me on hydra, that might be helpful for reproducing this, or possibly getting a core dump. I've tried poking around with various system limits, but I'm not quite sure what to try next.14:02:20
@tris203:matrix.orgtris203 I can reproduce in a garnix builder. The garnix guys did say they could help get logs from their builders. But then went quiet 14:52:58
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)I can reproduce this on my machine. I think I got a "valid" coredump14:55:59
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Should I upload it somewhere? Is it still needed? I'm not really able to do anything else with it at the moment.15:30:51
@corngood:corngood.comCorngoodI'd love to take a look at it. Could you post it on the issue?15:42:02
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Will do15:45:50
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)I can't currently upload due to github file restrictions and android shenanigans. Will upload when I'm home again.16:00:20
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Done (https://github.com/user-attachments/files/22726930/core.dotnet.1000.3a20fb14c4624604a43db731020ae596.1258979.1759762428000000.zst.gz)16:46:22
@corngood:corngood.comCorngoodThanks! Can you tell me exactly what you were running (including nixpkgs commit) so I can grab the symbols?17:00:09
@znaniye:matrix.orgznaniyeRedacted or Malformed Event17:03:01
@znaniye:matrix.orgznaniye *

I'm trying to update renode to a newer dotnet version but im getting these errors even after running fetch-deps. Maybe this is caused by the [fetchSubmodules content](https://github.com/renode/renode/tree/master/lib)?

       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Plugins/SampleCommandPlugin/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0'
 in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Plugins/SampleCommandPlugin/SampleCommandPlugin_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Plugins/TracePlugin/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the 
TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Plugins/TracePlugin/TracePlugin_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Emulator/Extensions/MonitorTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'ne
t9.0' in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Emulator/Extensions/MonitorTests/MonitorTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/lib/options-parser/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFrameworks for you
r project. [/build/source/lib/options-parser/OptionsParserTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Emulator/Peripherals/Test/PeripheralsTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have in
cluded 'net9.0' in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Emulator/Peripherals/Test/PeripheralsTests/PeripheralsTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/tests/unit-tests/RenodeTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFramewor
ks for your project. [/build/source/tests/unit-tests/RenodeTests/RenodeTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/tests/unit-tests/RenodeTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFramewor
0' in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Emulator/Main/Tests/UnitTests/UnitTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/lib/InpliTftpServer/libtftp/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFramework
s for your project. [/build/source/lib/InpliTftpServer/libtftp/libtftp_alt_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Renode/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFrameworks for your projec
t. [/build/source/src/Renode/Renode_NET.csproj::TargetFramework=net9.0]
       >     0 Warning(s)
       >     25 Error(s)
       >
       > Time Elapsed 00:00:00.71
       For full logs, run:
         nix log /nix/store/vi0sivvrzc5nkz8z2cnfq6ac42gqpd3j-renode-1.16.0.drv 
17:03:42
@znaniye:matrix.orgznaniye *

I'm trying to update renode to a newer dotnet version but im getting these errors even after running fetch-deps. Maybe this is caused by the fetchSubmodules content?

       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Plugins/SampleCommandPlugin/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0'
 in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Plugins/SampleCommandPlugin/SampleCommandPlugin_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Plugins/TracePlugin/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the 
TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Plugins/TracePlugin/TracePlugin_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Emulator/Extensions/MonitorTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'ne
t9.0' in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Emulator/Extensions/MonitorTests/MonitorTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/lib/options-parser/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFrameworks for you
r project. [/build/source/lib/options-parser/OptionsParserTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Infrastructure/src/Emulator/Peripherals/Test/PeripheralsTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have in
cluded 'net9.0' in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Emulator/Peripherals/Test/PeripheralsTests/PeripheralsTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/tests/unit-tests/RenodeTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFramewor
ks for your project. [/build/source/tests/unit-tests/RenodeTests/RenodeTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/tests/unit-tests/RenodeTests/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFramewor
0' in the TargetFrameworks for your project. [/build/source/src/Infrastructure/src/Emulator/Main/Tests/UnitTests/UnitTests_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/lib/InpliTftpServer/libtftp/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFramework
s for your project. [/build/source/lib/InpliTftpServer/libtftp/libtftp_alt_NET.csproj::TargetFramework=net9.0]
       > /nix/store/b8s307w96hm3vai6rxh7k5ybw5cqjf2k-dotnet-sdk-9.0.305/share/dotnet/sdk/9.0.305/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1005: A
ssets file '/build/source/src/Renode/obj/project.assets.json' doesn't have a target for 'net9.0'. Ensure that restore has run and that you have included 'net9.0' in the TargetFrameworks for your projec
t. [/build/source/src/Renode/Renode_NET.csproj::TargetFramework=net9.0]
       >     0 Warning(s)
       >     25 Error(s)
       >
       > Time Elapsed 00:00:00.71
       For full logs, run:
         nix log /nix/store/vi0sivvrzc5nkz8z2cnfq6ac42gqpd3j-renode-1.16.0.drv 
17:04:03
@wiiplayer2:matrix.orgWaldemar Tomme (they/them) I just did nix shell nixpkgs#dotnetCorePackages.dotnet_10.vmr. Will try to produce a new dump with known commit (and write down commands) 17:17:16
@znaniye:matrix.orgznaniyeRedacted or Malformed Event17:24:21
@znaniye:matrix.orgznaniye *

Diff:

@@ -79,8 +78,11 @@ buildDotnetModule rec {

   projectFile = "Renode_NET.sln";

-  dotnet-runtime = dotnet-runtime_8;
-  dotnet-sdk = dotnet-sdk_6;
+  dotnet-runtime = dotnetCorePackages.runtime_9_0-bin;
+  dotnet-sdk = dotnetCorePackages.sdk_9_0;
+
+  dotnetBuildFlags = [ "-p:TargetFramework=net9.0" ];
+  dotnetInstallFlags = dotnetBuildFlags;

   nugetDeps = ./deps.json;

@@ -169,8 +171,6 @@ buildDotnetModule rec {
     ln -s $out/lib/*.so src/Infrastructure/src/Emulator/Cores/bin/Release/lib
   '';

-  dotnetInstallFlags = [ "-p:TargetFramework=net6.0" ];
17:24:52
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)I updated my comment. commit: 7df7ff7d8e00218376575f0acdcc5d66741351ee dump: https://github.com/user-attachments/files/22727917/core.dotnet.1000.09aa2b6d0d1748609f9dcbc52901eb12.71615.1759773022000000.zst.gz17:53:39

Show newer messages


Back to Room ListRoom Version: 9