!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

128 Members
24 Servers

Load older messages


SenderMessageTime
13 Feb 2026
@jammie:matrix.orgJamieMageeCould use a review if anyone has time: https://github.com/NixOS/nixpkgs/pull/49021520:35:03
15 Feb 2026
@flafydev:matrix.orgFlafy changed their display name from Flafy (moving to @flafy:flafy.dev) to Flafy.21:47:39
@lostmsu:matrix.orglostmsu JamieMagee: I pinged you as I had a similar PR open for a while. I also bump SDK to .NET 10 (so that we won't have to touch this for a while). 23:25:02
@lostmsu:matrix.orglostmsu * JamieMagee: I pinged you as I had a similar PR open. I also bump SDK to .NET 10 (so that we won't have to touch this for a while). 23:25:14
@lostmsu:matrix.orglostmsuMy PR: https://github.com/NixOS/nixpkgs/pull/48660523:27:10
@lostmsu:matrix.orglostmsuBTW, I am co-maintainer of Python.NET (not just on NixOS)23:27:41
19 Feb 2026
@whovian9369:matrix.orgWhovian9369

Hello! What exactly should I do if I go to build a derivation and run into this error?

ln: failed to create symbolic link '/build/nuget.1U96kM/fallback/microsoft.netcore.app.runtime.linux-x64/8.0.23': File exists

19:55:31
@whovian9369:matrix.orgWhovian9369 Oh it's likely something to do with repeated entries in deps.json - I'll see if regenerating that fixes it! 20:00:53
@whovian9369:matrix.orgWhovian9369 Yep, that was it - Whoops. Oh well, apologies! 20:02:17
21 Feb 2026
@emma:rory.gayEmma [it/its]hm, i wonder why buildDotnetModule would... ignore a deps.json file?04:04:30
@emma:rory.gayEmma [it/its]particularly, i did the fetch-deps stuff, the deps.json isnt empty, its staged into git, its referenced in my derivation, yet it complains it cant find any dependencies04:08:12
@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

Show newer messages


Back to Room ListRoom Version: 9