!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
23 Servers

Load older messages


SenderMessageTime
21 Feb 2026
@emma:rory.gayEmma [it/its]cleared out the deps file and i noticed that it doesnt even seem to write to it, it just does nothing04:36:02
@corngood:corngood.comCorngoodfetch-deps can only write directly to a deps.json when it's evaluated impure. Maybe you're evaluating it through a flake? In that case you can pass it the output path as a command line arg 14:22:32
22 Feb 2026
@blazeeaglegale09:matrix.orgBlaze joined the room.02:54:34
@emma:rory.gayEmma [it/its]that's what im doing already23:40:09
@emma:rory.gayEmma [it/its] hence it not making sense that it just... returns [] 23:41:03
23 Feb 2026
@corngood:corngood.comCorngoodYou can run `fetch-drv` in a dev shell and then see what ends up in the nuget packages dir.00:54:11
1 Mar 2026
@anthroocelotpoggers3535:matrix.org~Poggers >w< joined the room.01:17:43
2 Mar 2026
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Hi, I'm trying to run a locally installed .NET tool (according to nuget.org it's targeting .NET 8 and 9) and I have globally installed .NET SDK 8, 9 and 10 (combined). When I try to run the tool dotnet is requesting v9 but only finds v10. If I drop into a nix shell with dotnet-sdk_9 it works but why doesn't it work with the combined SDK? I need to use it in my .NET 10 project as part of the build process.10:04:34
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Ah, wait, it works in the build process but still not when I try to invoke it directly. At least I can work with it for now but still weird that the direct call doesn't work.10:10:13
@corngood:corngood.comCorngood
In reply to @wiiplayer2:matrix.org
Hi, I'm trying to run a locally installed .NET tool (according to nuget.org it's targeting .NET 8 and 9) and I have globally installed .NET SDK 8, 9 and 10 (combined). When I try to run the tool dotnet is requesting v9 but only finds v10. If I drop into a nix shell with dotnet-sdk_9 it works but why doesn't it work with the combined SDK? I need to use it in my .NET 10 project as part of the build process.

That sounds like https://github.com/NixOS/nixpkgs/issues/464575

We should really get that fixed...

11:46:24
@sharkravenavalibunny543133:matrix.orgAspen Santos joined the room.20:39:30
@samuel:mnzn.devSamuel That issue has been bothering me for a while as well, but I don't know how to fix it. 22:29:30
@corngood:corngood.comCorngoodWell I think the brute force option would be to stop using symlinks to combine sdks/runtimes, but I hate that 23:45:16
3 Mar 2026
@samuel:mnzn.devSamuel So like copy all the sdks together into a giant directory? 00:28:44
@samuel:mnzn.devSamuel Yeah that wouldn't be great. 00:29:03
@corngood:corngood.comCorngoodWell I think the problem only occurs when you use `combinePackages`, right? And it happens to use symlinks 00:36:41
@whovian9369:matrix.orgWhovian9369 Anyone know how git-based fetchers work with repo tags? I have (someone else's) dotnet app building that is seemingly pulling an existing but old tag for VersionInfo.Version and I can't figure out how :P 04:14:58
@whovian9369:matrix.orgWhovian9369 I'm using the latest commit on master and not one on the tag, so I am a bit stumped on this. 04:15:50
@corngood:corngood.comCorngoodIt's hard to imagine it's related to the fetcher itself? Is it set to keep .git? Is it something you can share?15:13:30
11 Mar 2026
@jammie:matrix.orgJamieMageeI've been working on getting dotnet workloads working in our builds, and I have a PR that is ready for review https://github.com/NixOS/nixpkgs/pull/49803319:23:03
12 Mar 2026
@lostmsu:matrix.orglostmsuI just added a package for Android workload (the one you get by running dotnet workload install requires FHS) https://github.com/NixOS/nixpkgs/pull/49927213:56:55
@lostmsu:matrix.orglostmsufixing lint now14:02:59
@lostmsu:matrix.orglostmsubeats mine, I will close mine for now, see if Jamie's one lands14:10:05
@corngood:corngood.comCorngoodI'm just working on the march release updates, which are going a bit slower than usual because they added support for building multiple feature band SDKs from source. I'll take a closer look at the workload stuff when I get some downtime 15:02:43
@jammie:matrix.orgJamieMageeThanks for the review. I hadn't tested with the android workload, mainly aspire or wasm. Seems like there are still some gaps in my implementation.15:59:11
@lostmsu:matrix.orglostmsudid you test wasm one outside of the build script?16:00:28
14 Mar 2026
@jammie:matrix.orgJamieMageeThanks for testing this. I didn't test it outside of the build script 😅 I no longer work on the original project that I needed the workloads for.19:05:32
@jammie:matrix.orgJamieMagee lostmsu: I pushed fixes for the issues you flagged. Could you give it another go? 19:05:47
@lostmsu:matrix.orglostmsu @jammie:matrix.org looks good, found the issue with templates, but it can wait til the next patch 22:01:12

There are no newer messages yet.


Back to Room ListRoom Version: 9