!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

126 Members
25 Servers

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


SenderMessageTime
14 Aug 2023
@magikarpz:matrix.orgmdarochabut i guess all the blazor stuff isn’t there, so it has to be added07:50:19
@yarekt:matrix.orgYarek THmm, with dotnet you usually specify all the dependencies in its <foo>.csproj file, and they get pulled down in a restore step. Does Nix replace that somehow?16:39:14
@yarekt:matrix.orgYarek TI suppose it wants to if it needs reproducible builds16:39:25
@yarekt:matrix.orgYarek T Oh, are you using dotnetCorePackages.sdk_7_0 or pkgs.dotnet-sdk_7 ? because the former doesn't package aspnetcore even though it says it should 16:41:49
@yarekt:matrix.orgYarek TOh wait, isn't mono like completely gone from dotnet these days? Hmm. Is this thing open source? Do you have something I can replicate on my machine?16:46:26
@magikarpz:matrix.orgmdarochadotnet-sdk_7 is an alias to dotnetcorePackages.sdk_7_0, so I don't know how you can encounter differences between the two16:51:04
@magikarpz:matrix.orgmdarochathey both point to a packaged sdk, which should contain the aspnetcore framework files16:51:23
@magikarpz:matrix.orgmdarocha
In reply to @yarekt:matrix.org
Hmm, with dotnet you usually specify all the dependencies in its <foo>.csproj file, and they get pulled down in a restore step. Does Nix replace that somehow?
in case of Nix, it runs dotnet restore and then builds a deps.nix based on the restored nugets. This doesnt always work, cause sometimes (ie. in case of alternative sdk packages) not all nugets are pulled at restore
16:52:24
@magikarpz:matrix.orgmdarochabut most framework and SDK stuff is included by default when using buildDotnetModule, so it isn't usually a problem16:52:53
@magikarpz:matrix.orgmdarochathe error like with blazor is mostly probably due to missing stuff in the dependencies included by default, which aren't also properly picked up into deps.nix16:53:40
@magikarpz:matrix.orgmdarochaunless there's some other problems, it would also help with debugging to share a repo with a reproduction of the problems16:54:19
@magikarpz:matrix.orgmdarocha * unless there's some other problems, it would also help with debugging to share a repo with a reproduction of the errors16:54:24
@emma:rory.gayEmma [it/its]
In reply to @yarekt:matrix.org
Oh wait, isn't mono like completely gone from dotnet these days? Hmm. Is this thing open source? Do you have something I can replicate on my machine?
my thing? yes
17:47:15
@emma:rory.gayEmma [it/its] git clone --recursive https://git.rory.gay/matrix/MatrixRoomUtils.git 17:48:08

Show newer messages


Back to Room ListRoom Version: 9