!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

125 Members
24 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
14 Aug 2023
@magikarpz:matrix.orgmdarochafetch-deps runs nuget-to-nix internally07:45:59
@magikarpz:matrix.orgmdarochawhat problem did you run into that you had to run nuget-to-nix?07:46:17
@emma:rory.gayEmma [it/its]my issue is that its missing a framework dependency07:46:22
@emma:rory.gayEmma [it/its]i dont remember, its been ages and i stuck with it07:46:39
@magikarpz:matrix.orgmdarochaare you trying to package a .net framework app?07:46:56
@emma:rory.gayEmma [it/its]no, im building a blazor wasm app07:47:11
@magikarpz:matrix.orgmdarocha oh yeah, the error you posted above right 07:47:45
@magikarpz:matrix.orgmdarochahmm seems like this package is restored differently internally07:47:58
@emma:rory.gayEmma [it/its] i had to explicitly add this line to deps.nix for my project to fix that error:
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.Mono.browser-wasm"; version = "7.0.9"; sha256 = "PHY9n/4/MY3FdnsQWXr/UyByzSxStzcXt11Ys9reN8w="; })
07:48:01
@magikarpz:matrix.orgmdarochaand it’s not being picked up by nuget-to-nix07:48:14
@magikarpz:matrix.orgmdarochayeah that should fix it for now07:48:23
@emma:rory.gayEmma [it/its]now im dealing with a NETSDK1084 (no app host available for specific RuntimeIdentifier)07:48:32
@emma:rory.gayEmma [it/its]
In reply to @magikarpz:matrix.org
and it’s not being picked up by nuget-to-nix
because its a framework dep, not a project dep
07:48:47
@magikarpz:matrix.orgmdarochait’ll need to be fixed upstream in nixpkgs07:48:55
@emma:rory.gayEmma [it/its]i guess so, since it has a package type of DotnetPlatform07:49:23
@magikarpz:matrix.orgmdarocha that can also be because of a missing nuget 07:49:42
@magikarpz:matrix.orgmdarochamost of the platform packages are bundled with the dotnet-sdk package in nixpkgs07:50:03
@emma:rory.gayEmma [it/its]yeah this one is just missing07:50:14
@magikarpz:matrix.orgmdarochabut i guess all the blazor stuff isn’t there, so it has to be added07:50:19

Show newer messages


Back to Room ListRoom Version: 9