Nix + dotnet | 120 Members | |
| 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Feb 2026 | ||
fetch-deps isnt picking up any dependencies either | 02:28:40 | |
| 02:29:03 | |
| 13 Feb 2026 | ||
| https://github.com/NixOS/nixpkgs/pull/489952 The February releases include .net 11 preview 1 | 04:08:37 | |
| 10:26:59 | ||
| Could use a review if anyone has time: https://github.com/NixOS/nixpkgs/pull/490215 | 20:35:03 | |
| 15 Feb 2026 | ||
| 21:47:39 | ||
| 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 | |
| * 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 | |
| My PR: https://github.com/NixOS/nixpkgs/pull/486605 | 23:27:10 | |
| BTW, I am co-maintainer of Python.NET (not just on NixOS) | 23:27:41 | |
| 19 Feb 2026 | ||
| Hello! What exactly should I do if I go to build a derivation and run into this error?
| 19:55:31 | |
Oh it's likely something to do with repeated entries in deps.json - I'll see if regenerating that fixes it! | 20:00:53 | |
| Yep, that was it - Whoops. Oh well, apologies! | 20:02:17 | |
| 21 Feb 2026 | ||
| hm, i wonder why buildDotnetModule would... ignore a deps.json file? | 04:04:30 | |
| 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 dependencies | 04:08:12 | |
| cleared out the deps file and i noticed that it doesnt even seem to write to it, it just does nothing | 04:36:02 | |
| fetch-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 | ||
| 02:54:34 | ||
| that's what im doing already | 23:40:09 | |
hence it not making sense that it just... returns [] | 23:41:03 | |
| 23 Feb 2026 | ||
| You 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 | ||
| 01:17:43 | ||
| 2 Mar 2026 | ||
| 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 | |
| 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 | |
In reply to @wiiplayer2:matrix.org That sounds like https://github.com/NixOS/nixpkgs/issues/464575 We should really get that fixed... | 11:46:24 | |
| 20:39:30 | ||
| That issue has been bothering me for a while as well, but I don't know how to fix it. | 22:29:30 | |
| Well 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 | ||
| So like copy all the sdks together into a giant directory? | 00:28:44 | |
| Yeah that wouldn't be great. | 00:29:03 | |