!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

128 Members
23 Servers

Load older messages


SenderMessageTime
9 Jan 2025
@gggkiller:matrix.orgGGGBut yeah, there's no point 16:00:36
@6pak:matrix.org6pakyes I know, but do we need those for programs in nixpkgs16:00:41
@gggkiller:matrix.orgGGGWe could likely replace it with a `makeBinaryWrapper`16:00:54
@6pak:matrix.org6pakit's just unnecessary work on startup to find the dotnet runtime, and makes it less deterministic16:00:57
@gggkiller:matrix.orgGGGWell, for some programs it's useful since they want to use the installed SDK16:01:22
@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

Show newer messages


Back to Room ListRoom Version: 9