!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

121 Members
24 Servers

Load older messages


SenderMessageTime
14 Jul 2025
@gggkiller:matrix.orgGGG my plan was to make something like nugetDeps = mkNugetRepo ./deps.json; and then a hook would set up the env var for dotnet restore to use 18:41:05
@corngood:corngood.comCorngoodI would really like things to be more composable. like avalonia with multiple npm projects and nuget deps18:41:09
@gggkiller:matrix.orgGGGexactly how it is done with npm and yarn18:41:22
@gggkiller:matrix.orgGGG because they aren't added to buildDeps afaik 18:41:45
@gggkiller:matrix.orgGGG I'm not sure if that's right or wrong (I assume wrong most likely), but that'd make it easier to override them out, because otherwise the only choice people would have is to filter out the old buildDeps 18:42:26
@gggkiller:matrix.orgGGG * I'm not sure if that's right or wrong (I assume wrong most likely), but that'd make it easier to override them out, because otherwise the only choice people would have is to filter out the old buildDeps and add new ones 18:42:38
@corngood:corngood.comCorngoodit's difficult to think about without some concrete examples. I was hoping to get more libraries in nixpkgs and actually use them (like avalonia)18:43:44
@corngood:corngood.comCorngoodI just haven't been able to put much time into it lately18:44:02
@gggkiller:matrix.orgGGGyeah, although I have to admit I'm rather skeptic about people actually building libraries from source and having them in nixpkgs18:44:19
@gggkiller:matrix.orgGGGpython and node.js folks have tried (and failed)18:44:30
@corngood:corngood.comCorngoodthe whole dotnet ecosystem is very hostile to it18:44:34
@gggkiller:matrix.orgGGGthat too18:44:43
@corngood:corngood.comCorngoodeven worse than those other languages, because there's no mechanism for distributing or building source18:45:22
@gggkiller:matrix.orgGGGit's just that it's rather unrealistic to maintain build scripts for a whole ecosystem, the tools and their whole supply chain18:45:27
@gggkiller:matrix.orgGGGit's a nice idea in theory, but in practice it is terribly inefficient and would require way too much effort18:45:51
@corngood:corngood.comCorngoodI don't think python has failed, has it? I thought it had a pretty thorough repository in nixpkg18:46:02
@corngood:corngood.comCorngood* I don't think python has failed, has it? I thought it had a pretty thorough repository in nixpkgs18:46:04
@gggkiller:matrix.orgGGG I mean, I see quite a few things that build from source, but a lot are just fetchFromPyPy 18:46:21
@gggkiller:matrix.orgGGG * I mean, I see quite a few things that build from source, but a lot others are just fetchFromPyPy 18:46:27
@gggkiller:matrix.orgGGGfor languages with small amounts of users (like us), I think going the way node.js and rust folks did (just fetching from the lockfile) would be better imo18:47:32
@gggkiller:matrix.orgGGG* for languages with small amounts of users/packages (like us), I think going the way node.js and rust folks did (just fetching from the lockfile) would be better imo18:47:51
17 Jul 2025
@chipherseeker:matrix.org@chipherseeker:matrix.org left the room.10:58:17
@jsnf:matrix.orgjsnf joined the room.14:58:31
25 Jul 2025
@coolio:nope.chat@coolio:nope.chat removed their profile picture.19:48:21
@coolio:nope.chat@coolio:nope.chat removed their display name coolio.19:48:25
@coolio:nope.chat@coolio:nope.chat left the room.19:48:30
27 Jul 2025
@whovian9369:matrix.orgWhovian9369

So, 2 months later I got an answer!

to the one that asked why Iadded a global.json
https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/10.0/nu1015-packagereference-version this is why
to force a LOWER sdk
...
(had a problem with a breaking change between net 8 and 9 when both were stable, this is just yet another example )

22:37:23
@whovian9369:matrix.orgWhovian9369Now I have to wonder if I'll run into an issue because of it! 😅22:38:43
@6pak:matrix.org6pakyeah but the issue was forcing a very specific patch version22:39:49
@whovian9369:matrix.orgWhovian9369That's fair22:40:08

Show newer messages


Back to Room ListRoom Version: 9