!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

127 Members
24 Servers

Load older messages


SenderMessageTime
9 Jan 2025
@gggkiller:matrix.orgGGGLike roslyn-ls16:01:27
@gggkiller:matrix.orgGGGBut other than those, it's not really necessary 16:01:36
@6pak:matrix.org6pakin that case you should have a custom bootstrapper that takes global.json into account16:02:22
@gggkiller:matrix.orgGGGThere's no global.json for programs in $PATH though16:02:48
@6pak:matrix.org6pakI mean if you want roslyn-ls to use the same roslyn as the only that builds the project, then it would have to read the global.json16:03:49
@6pak:matrix.org6pakbecuase a normal apphost will use whatever version deps.json of the program specifies16:04:09
@6pak:matrix.org6pak* because a normal apphost will use whatever version deps.json of the program specifies16:04:21
@gggkiller:matrix.orgGGGOh no, roslyn-ls is a language server, so the user uses it when already having a .NET SDK installed in their system16:04:28
@gggkiller:matrix.orgGGGAnd not every project has a global.json16:04:37
@6pak:matrix.org6pakit should imo16:05:01
@gggkiller:matrix.orgGGGI don't see the need for it to exist imo16:05:16
@6pak:matrix.org6pakbut does roslyn-ls bundle it's own roslyn binary or uses one from .net sdk16:05:20
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
but does roslyn-ls bundle it's own roslyn binary or uses one from .net sdk
I have no idea
16:05:40
@6pak:matrix.org6paksdk major/feature-band updates can bring breaking changes16:05:55
@6pak:matrix.org6pakwym by this16:06:06
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
sdk major/feature-band updates can bring breaking changes
I mean, shouldn't TFM take care of that already
16:06:19
@6pak:matrix.org6pakI mean build system breaking changes16:06:34
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
wym by this
Because some programs want to use whatever SDK(s) the user has installed on their system
16:06:45
@gggkiller:matrix.orgGGGLike roslyn-ls16:06:57
@gggkiller:matrix.orgGGGCan't remember if there's others16:07:04
@gggkiller:matrix.orgGGGBut we have a flag for it in `buildDotnetModule`16:07:14
@6pak:matrix.org6pakSDK or runtime16:07:52
@gggkiller:matrix.orgGGG
In reply to @6pak:matrix.org
SDK or runtime
The runtime in the SDK really, since they'll use the SDK themselves as well
16:08:28
@6pak:matrix.org6pakit does bundle it's own16:11:35
@6pak:matrix.org6pakso I'm not really sure why it would need this16:11:47
@gggkiller:matrix.orgGGGI can't remember well myself honestly16:14:41
@gggkiller:matrix.orgGGG @corngood:corngood.com maybe you can shine some light into this one? 16:15:46
10 Jan 2025
@corngood:corngood.comCorngood

I sort of skimmed the above, so sorry if I'm misunderstanding, but you're asking why roslyn-ls would need the ability to run against different runtimes/SDKs?

I'm more familiar with omnisharp-roslyn, but I imagine they are similar. It's important that it's able to use the same compiler (roslyn) used to build whatever project it's loading. It might not be important that it runs on a particular runtime, but I guess it ensures that the runtime can load the compiler.

13:01:26
@gggkiller:matrix.orgGGGWe were more discussing if there's even a need to keep around the apphost binaries in NixOS, since we can just use `makeBinaryWrapper` and make it call `dotnet run` or something similar 13:06:45
@corngood:corngood.comCorngoodYou mean get rid of Microsoft.NETCore.App.Host.*? You'd have to fix any projects that try to build self-contained, right?13:43:02

Show newer messages


Back to Room ListRoom Version: 9