!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

127 Members
24 Servers

Load older messages


SenderMessageTime
9 Jan 2025
@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
@gggkiller:matrix.orgGGGDo we really have a need for self-contained apps in nixpkgs though14:21:41
@gggkiller:matrix.orgGGGFeels like unnecessary duplication of runtimes14:21:52
@gggkiller:matrix.orgGGGUnless if they're doing AOT14:22:03
@corngood:corngood.comCorngoodI agree that it's not very nix-like. I just don't think it's practical to avoid it completely.14:22:37
@gggkiller:matrix.orgGGGI mean, we can have an escape hatch, but I don't see a reason to provide first class support for it14:23:07
@corngood:corngood.comCorngoodI don't see what we gain by breaking it. Just removing those packages? We could make them opt-in without breaking it.14:24:05
@gggkiller:matrix.orgGGGNot really, it'd just avoid some overhead really 14:37:04
@gggkiller:matrix.orgGGGDon't know if it is significant enough to justify removing it14:40:22
@6pak:matrix.org6pakimo it should be possible to build self-contained apps with nix, so you can use nix as a build tool and distribute for non-nixos14:42:03
@6pak:matrix.org6pakbut none of the packages in nixpkgs should be self contained, yeah14:42:13
@6pak:matrix.org6pakand ideally the dependencies would be used from nix store aswell, not bundled14:42:39
@6pak:matrix.org6paknot removing the package itself14:42:58

Show newer messages


Back to Room ListRoom Version: 9