| 19 Apr 2025 |
| upidapi joined the room. | 17:01:44 |
| 21 Apr 2025 |
corruptcomputer | Is that the most up to date way to do it? I saw this on the Wiki from about a week ago and this is what I had based my change on:
https://discourse.nixos.org/t/dotnet-maui-workload/20370/24
There really isn't a ton of documentation around dotnet so I'm really not sure what the best way to do it is, and according to other folks on this same forum discussion for it isn't possible to update? Not really sure how thats the case when its a wiki | 22:54:43 |
corruptcomputer | * Is that the most up to date way to do it? I saw this on the forum from about a week ago and this is what I had based my change on:
https://discourse.nixos.org/t/dotnet-maui-workload/20370/24
There really isn't a ton of documentation around dotnet so I'm really not sure what the best way to do it is, and according to other folks on this same forum discussion for it isn't possible to update? Not really sure how thats the case when its a wiki | 22:54:52 |
GGG | it is the way I use myself. I prefer using a file in /etc because env vars require restarting your window manager or something similar to update them | 22:55:18 |
GGG | but you shouldn't mix sdk_X_Y, runtime_X_Y, aspnetcore_X_Y packages ever | 22:55:38 |
GGG | you pick one of the three and use that for that version | 22:55:48 |
GGG | * it is the way I use myself. I prefer using a file in /etc because env vars require restarting your desktop manager or something similar to update them | 22:55:57 |
corruptcomputer | I need all 3 of them though, I'm developing aspnetcore and desktop applications, so I need to be able to both compile with the sdk and run with the runtime or aspnetcore runtime | 22:56:40 |
GGG | the SDK comes with the runtime and aspnetcore | 22:56:49 |
GGG | aspnetcore comes with the runtime | 22:56:53 |
GGG | runtime is just the runtime | 22:56:56 |
corruptcomputer | Ah ok, didn't realize that. Thats a lot different than I'm familiar with on Arch, on Arch you need to install all 3 separately | 22:57:25 |
corruptcomputer | does the sdk_X_Y support only specifying the major version? I'd like to always stay up to date with the latest minor version and just pick the major that I'm using | 22:59:04 |
corruptcomputer | like sdk_9 or sdk_8 I mean, instead of needing sdk_9_202 or whatever the minor version is | 22:59:37 |
corruptcomputer | could see it being very annoying to constantly be updating that | 22:59:50 |
GGG | we don't currently have an option to stick to latest minor, the dotnet_9.sdk is just sdk_9_0 | 22:59:53 |
GGG | 202 is the patch, so the actual version is 9.0.202 | 23:00:06 |
corruptcomputer | Ah ok so sdk_9_0 will still get me the latest then, thanks! | 23:00:45 |
corruptcomputer | Is it possible to get the latest version of VsCode with this as well? The Microsoft plugin for C# support doesn't work, says the version of VSC is too old to support it. Not sure if there some sort of version option with the vscode.fhs package as an option | 23:04:12 |
GGG | Not really, the only option is the extension in nixpkgs. It needs quite a bit of annoying patching so it doesn't work out of the box without any changes | 23:05:03 |
GGG | Your best shot might be going on unstable to get the latest version of everything, but that's about it | 23:05:19 |
corruptcomputer | that doesn't seem to work for dotnet, none of the c# packages are available there | 23:05:29 |
corruptcomputer | in the pkgs.vscode-extensions repo I mean | 23:05:41 |
GGG | oh | 23:05:46 |
GGG | I just updated them in nixpkgs though (albeit there's another PR to update them already) | 23:06:06 |
GGG | both of them are right there: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=ms-dotnettools.cs | 23:06:27 |
corruptcomputer | oh? Let me check again, I had looked over the weekend when I was trying to set this up, maybe they are there now | 23:06:44 |
corruptcomputer | Ok yeah looks like most of them are there now, only 2 missing at this point | 23:09:26 |
GGG | if you mean the .NET Runtime Install one, it's not used, but it is in nixpkgs since there's still a hard dependency on it | 23:09:56 |
corruptcomputer | These are the 2 I don't see there:
richardwillis.vscode-entity-framework
avaloniateam.vscode-avalonia | 23:10:04 |