!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
24 Servers

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


SenderMessageTime
8 Aug 2025
@corngood:corngood.comCorngoodfetch-deps should do a tool restore. Are you running that to make your deps.json?21:29:23
@oatmealraisin:matrix.orgoatmealraisin No, I don't really know how passthru works. Right now I'm doing dotnet restore <csproj> --packages out; nuget-to-json out > deps.json 21:35:01
@oatmealraisin:matrix.orgoatmealraisin Actually, I just read up on it and I'm getting this error upon runnin result, mv: cannot create regular file '/nix/store/79w8gxjdfwahlzy79zxyzhsp0nrls06j-source/deps.nix': Permission denied 22:00:20
@corngood:corngood.comCorngoodYou can't run it through a flake. You'd have to do it in impure mode, so the output is writeable.23:31:46
9 Aug 2025
@oatmealraisin:matrix.orgoatmealraisin Ok, good to know. I'm running nix build .#default.passthru.fetch-deps; ./result, and passing --impure doesn't change anything. I'll try to make a non-flake build to make this deps.json file 00:38:20
@oatmealraisin:matrix.orgoatmealraisin Made a quick default.nix with the main buildDotnetModule, no more tools issues, thanks for the help! 00:46:50
@oatmealraisin:matrix.orgoatmealraisinWould it be worth it to add this info to the documentation?00:56:23
@oatmealraisin:matrix.orgoatmealraisinAlso, I'm not sure what happened, but a bunch of the WebAssembly related deps (for a blazor/razor part of the project) were a minor version off, I needed to manually change a bunch from 8.0.17 to 8.0.18. Any idea why this might have happened?01:01:53
@oatmealraisin:matrix.orgoatmealraisin Also, now I'm running into another issue wrt wasm, error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'browser-wasm'., I've seen some others having problems with this 01:05:52
@gggkiller:matrix.orgGGGyeah, you probably have to install the wasm workload and I don't think we support that currently01:22:50

Show newer messages


Back to Room ListRoom Version: 9