!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

124 Members
24 Servers

Load older messages


SenderMessageTime
15 Aug 2023
@emma:rory.gayEmma [it/its]or at least, it did in our project, didnt check in the repro19:57:49
16 Aug 2023
@magikarpz:matrix.orgmdarocha from what I searched, wasm-tools, needed by the blazor wasm compilation, is packages as a dotnet workload 06:55:48
@magikarpz:matrix.orgmdarochaand unfortunately, workloads aren't supported in Nix for now - see https://github.com/NixOS/nixpkgs/issues/22610706:56:10
@magikarpz:matrix.orgmdarochaso to make wasm compilation fully work you would need to try to hack together some form of workload support, I know that previously something was attempted for maui06:56:44
19 Aug 2023
@emma:rory.gayEmma [it/its]shouldnt it be a matter of installing the relevant nuget packages?11:46:17
@magikarpz:matrix.orgmdarochafrom what I understand workloads work a little bit differently and aren’t covered by the current nix mechanisms11:47:47
@emma:rory.gayEmma [it/its]im guessing the dotnet packages also cant be extended to ship with the workloads builtin?11:50:54
@magikarpz:matrix.orgmdarocha there were attempts from what i remember, see the issue i linked above 11:51:33
@magikarpz:matrix.orgmdarocha but properly implementing workloads in nix would require understanding how they are installed by the dotnet cli so that we can provide them using the standard nix functions 11:52:14
@emma:rory.gayEmma [it/its] at least going by https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/compilers/dotnet/versions/7.0.nix, there seems to be a packages array, couldnt the missing ones be added there? 11:52:19
@magikarpz:matrix.orgmdarochanope, this package array is used to streamline the package updating process11:53:07
@emma:rory.gayEmma [it/its]it looks like theyre all just installed to /usr/share/dotnet/packs11:53:16
@emma:rory.gayEmma [it/its]* it looks like theyre all just installed to /usr/share/dotnet/packs (arch)11:53:21
@magikarpz:matrix.orgmdarochaie those package are implicitly included with every does, and thanks to that we don’t have to regenerate all the deps.nix in the nixpkgs tree11:53:43
@magikarpz:matrix.orgmdarochaif you want to take a stab at implementing workloads then PRs are welcome :) I unfortunately didn’t have the time to take a look at that issue11:54:13
@emma:rory.gayEmma [it/its] both eg. Microsoft.AspNetCore.App.Ref and Microsoft.NETCore.App.Runtime.Mono.browser-wasm appear to be in in that same /usr/share/dotnet/packs directory 11:54:34
@magikarpz:matrix.orgmdarocha* ie those package are implicitly included with every deps, and thanks to that we don’t have to regenerate all the deps.nix in the nixpkgs tree11:54:41

There are no newer messages yet.


Back to Room ListRoom Version: 9