!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
24 Servers

Load older messages


SenderMessageTime
10 Jan 2025
@6pak:matrix.org6pakyou could get it at avalonia's fetch-deps stage17:11:28
@6pak:matrix.org6paknuget restore includes figuring out projectreferences metadata17:11:44
@corngood:corngood.comCorngoodit's the output of avalonia, so I think you'd have to do it in the dependent project's fetch phase?17:11:59
@corngood:corngood.comCorngoodoh wait, I see what you mean17:12:10
@corngood:corngood.comCorngoodyeah, maybe fetch-deps could determine something about the output packages. but still you have dependencies that are dependent on TFM. so a dependent project on net6.0 and netstandard2.0 might have different dependencies. you could be conservative and link all of them I guess17:12:58
@6pak:matrix.org6pakthis would be bad though17:13:02
@corngood:corngood.comCorngoodI didn't completely give up on it. this is just where it started to get hairy and I was trying to use the nuget sdk to figure out dependencies etc17:13:43
@6pak:matrix.org6paktbh listing it out manually might not be that bad17:14:11
@corngood:corngood.comCorngoodyeah, maybe not. avalonia is probably about as complex as it gets17:14:31
@6pak:matrix.org6pakyeah17:14:37
@corngood:corngood.comCorngoodI want to get back to it at some point and make an up to date source build of avalonia that's actually used by things in nixpkgs17:14:52
@6pak:matrix.org6pakand you can just have a meta package for avalonia in nixpkgs that includes all you need17:14:53
@6pak:matrix.org6pakwith how shady avalonia can be, it would be nice tbh17:15:22
@corngood:corngood.comCorngoodI gotta run, but I'll check in later17:15:29
@gggkiller:matrix.orgGGGI mean, we could just start with avalonia as a monolithic package initially20:38:31
@gggkiller:matrix.orgGGGBetter have something than nothing honestly20:38:37
@gggkiller:matrix.orgGGGI know we already do, but it's pretty much not used in nixpkgs20:39:23
14 Jan 2025
@corngood:corngood.comCorngood patchcil change: https://github.com/NixOS/nixpkgs/pull/373107 GGG This sounds cool. I'll probably have to wait until I have some downtime to wrap my head around it. I thought others here might be interested. 13:56:59
@gggkiller:matrix.orgGGGFair enough, it's not very complex but there are quite a few steps in the process so it's not something that easy to review 13:58:42
@gggkiller:matrix.orgGGGEven more considering whoever reviews it will need to read and understand the patchcil source as well13:58:58
@wiiplayer2:matrix.orgWaldemar TommeHi, quick question (hopefully): I'm building a .NET package with buildDotnetModule and need two cli tools available. I tried buildInputs but this doesn't seem to work. How can I make the tools available to the dotnet tool?14:26:03
@emma:rory.gayEmma [it/its]nativeBuildInputs, iirc?14:26:49
@emma:rory.gayEmma [it/its]or dyou mean at runtime?14:26:58
@emma:rory.gayEmma [it/its]* or do you mean at runtime?14:27:02
@wiiplayer2:matrix.orgWaldemar Tommeat runtime14:27:02
@emma:rory.gayEmma [it/its] one sec 14:27:19
@emma:rory.gayEmma [it/its]theres a separate thing for that but i need to look it up14:27:31
@emma:rory.gayEmma [it/its] runtimeDeps :) 14:27:55
@wiiplayer2:matrix.orgWaldemar Tomme :/ i tried earlier and now as well but it only appends the /lib sub paths to LD_LIBRARY_PATH it seems 14:29:52
@wiiplayer2:matrix.orgWaldemar Tommeotherwise I will wrap it but would like it if I can manage it with a single package14:31:16

Show newer messages


Back to Room ListRoom Version: 9