| 14 Aug 2023 |
mdarocha | dotnet-sdk_7 is an alias to dotnetcorePackages.sdk_7_0, so I don't know how you can encounter differences between the two | 16:51:04 |
mdarocha | they both point to a packaged sdk, which should contain the aspnetcore framework files | 16:51:23 |
mdarocha | 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 |
mdarocha | but most framework and SDK stuff is included by default when using buildDotnetModule, so it isn't usually a problem | 16:52:53 |
mdarocha | the 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.nix | 16:53:40 |
mdarocha | unless there's some other problems, it would also help with debugging to share a repo with a reproduction of the problems | 16:54:19 |
mdarocha | * unless there's some other problems, it would also help with debugging to share a repo with a reproduction of the errors | 16:54:24 |
Emma [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 [it/its] | git clone --recursive https://git.rory.gay/matrix/MatrixRoomUtils.git | 17:48:08 |
Emma [it/its] | build with nix build '.?submodules=1#web' -L | 17:48:26 |
Emma [it/its] | though if you want i can set up a quick and dirty repro repo (just the template project with a flake) | 17:50:02 |
Emma [it/its] | keep in mind that repo has the missing framework package manually added | 17:52:28 |
Emma [it/its] | In reply to @magikarpz:matrix.org follow the docs to get a buildDotnetModule derivation working, and then run the fetch-deps script from the derivation attributes, as shown in the docs ah i remember now why i cant use fetch-deps | 17:57:23 |
Emma [it/its] | error: getting status of '/home/root@Rory/EmptyBlazorWasmApp/default.nix': No such file or directory
that doesnt appear to work with flakes | 17:57:37 |
Emma [it/its] | building .#default.passthru.fetch-deps made a shellscript as result, i guess thats normal? | 19:31:50 |