!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

103 Members
23 Servers

Load older messages


SenderMessageTime
21 Apr 2025
@corruptcomputer:matrix.orgcorruptcomputerIs 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 option23:04:12
@gggkiller:matrix.orgGGGNot 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 changes23:05:03
@gggkiller:matrix.orgGGGYour best shot might be going on unstable to get the latest version of everything, but that's about it23:05:19
@corruptcomputer:matrix.orgcorruptcomputerthat doesn't seem to work for dotnet, none of the c# packages are available there 23:05:29
@corruptcomputer:matrix.orgcorruptcomputerin the pkgs.vscode-extensions repo I mean23:05:41
@gggkiller:matrix.orgGGGoh23:05:46
@gggkiller:matrix.orgGGGI just updated them in nixpkgs though (albeit there's another PR to update them already)23:06:06
@gggkiller:matrix.orgGGGboth of them are right there: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=ms-dotnettools.cs23:06:27
@corruptcomputer:matrix.orgcorruptcomputeroh? Let me check again, I had looked over the weekend when I was trying to set this up, maybe they are there now23:06:44
@corruptcomputer:matrix.orgcorruptcomputerOk yeah looks like most of them are there now, only 2 missing at this point23:09:26
@gggkiller:matrix.orgGGGif you mean the .NET Runtime Install one, it's not used, but it is in nixpkgs since there's still a hard dependency on it23:09:56
@corruptcomputer:matrix.orgcorruptcomputerThese are the 2 I don't see there: richardwillis.vscode-entity-framework avaloniateam.vscode-avalonia23:10:04
@gggkiller:matrix.orgGGGIntelliCode I don't know if anyone has properly packaged yet23:10:05
@gggkiller:matrix.orgGGGoh, those23:10:14
@gggkiller:matrix.orgGGGyeah, seems nobody has packaged them23:10:31
@corruptcomputer:matrix.orgcorruptcomputerYeah all the rest I have installed are there now, not sure if I just missed them before or if they were newly added 23:10:38
@gggkiller:matrix.orgGGGyou could try installing it directly from the marketplace and see if they work, if not you might have to try to package them yourself23:10:49
@gggkiller:matrix.orgGGGor use the fhs vscode version, since that usually has better compatibility with htings23:11:00
@gggkiller:matrix.orgGGG* or use the fhs vscode version, since that usually has better compatibility with things23:11:02
@corruptcomputer:matrix.orgcorruptcomputerAlright, thanks! I'll try to get that setup with those plugins, I think those 2 being installed manually using the like { name = "vscode-entity-framework"; publisher = "richardwillis"; version = "0.0.20"; sha256 = "0karaxnaalhr08n7dyc89wr5i3y9jxa5nfiyqcxdg4ws0p3zcsbk"; } { name = "vscode-avalonia"; publisher = "avaloniateam"; version = "0.0.32"; sha256 = "1vrsnq7v0p508c077g62yy2h9l8dqgad5929nnyqiys3bcx5ksnq"; } syntax shouldn't be too bad, was not super happy with installing like 10 extensions that way tho23:13:59
@corruptcomputer:matrix.orgcorruptcomputerSince afaik, they don't update very often 23:14:08
@corruptcomputer:matrix.orgcorruptcomputerBut those others from MS have constant updates to them23:14:55
@gggkiller:matrix.orgGGGWell, if you are using flakes you could use the bot-updated VSCode extensions flake23:15:17
@gggkiller:matrix.orgGGGIf not, you can just install them from the VSCode Marketplace and have VSCode auto update them itself23:15:32
@gggkiller:matrix.orgGGGJust gotta take care to not update the C# ones23:15:41
@corruptcomputer:matrix.orgcorruptcomputerI don't use flakes yet, still trying to learn base NixOS before trying to dig into some of those more advanced features. I did see that home-manager also had a way to do it, but that also looked quite complex to setup 23:16:08
@gggkiller:matrix.orgGGGFair enough23:16:25
@gggkiller:matrix.orgGGGI'd recommend you don't really bother with it for now and let VSCode manage the extensions that aren't packaged in nixpkgs for now23:16:48
@corruptcomputer:matrix.orgcorruptcomputeryeah I think thats what I'm going to do for now, eventually I'll get around to looking at those other options 23:17:20
@corruptcomputer:matrix.orgcorruptcomputerThanks again for your help!23:17:27

Show newer messages


Back to Room ListRoom Version: 9