!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

116 Members
23 Servers

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


SenderMessageTime
24 Oct 2025
@corngood:corngood.comCorngood You probably need to add nuget deps: nugetDeps = ./deps.json, and then run $(nix-build -A [pkg].fetch-deps) 13:23:59
@corngood:corngood.comCorngood Also putting aspnetcore_9_0 in buildInputs is unusual. You might just want to use it for dotnet-runtime. 13:26:10
@manuelbaerenz:matrix.orgManuel BärenzThat seems like some great piece of tooling. Right now it fails because of some proprietary dependency from our partner, but it did download a bunch of packages that seemed sensible13:32:39
@manuelbaerenz:matrix.orgManuel Bärenz

That seems like some great piece of tooling.

Sorry, that sounded sarcastic, I meant it seriously 😅 and thanks for your help so far

13:41:53
@manuelbaerenz:matrix.orgManuel BärenzCan I point the fetch-deps to a custom nuget server for some packages? Or at least pass it a NuGet.config that has the custom server configured?13:46:14
@manuelbaerenz:matrix.orgManuel Bärenz Ohh. I think if I name it properly (nuget.config instead of NuGet.config) it detects it automatically. 13:53:13
@corngood:corngood.comCorngoodDid you get a complete deps.json then?14:09:51
27 Oct 2025
@manuelbaerenz:matrix.orgManuel Bärenz No, the fetcher failed and didn't create a deps.json. I'll try again soon when I get the complete closed source dependencies from our partner 08:32:51
2 Nov 2025
@emma:rory.gayEmma [it/its]question, how do i use the fetchdeps thing with the nix cli?19:31:00
@emma:rory.gayEmma [it/its]

doing a nix build .\#thing.passthru.fetch-deps && ./result fails with this:

/nix/store/q38z0zig1346h47vyianirr25fi9g42m-fetch-deps.sh: line 10: /nix/store/rxf86xrfxhij48hjqgysi8blj2c9hg88-source/ArcaneLibs.Blazor.Components/deps.nix: Read-only file system
19:31:45
@corngood:corngood.comCorngood
In reply to @emma:rory.gay

doing a nix build .\#thing.passthru.fetch-deps && ./result fails with this:

/nix/store/q38z0zig1346h47vyianirr25fi9g42m-fetch-deps.sh: line 10: /nix/store/rxf86xrfxhij48hjqgysi8blj2c9hg88-source/ArcaneLibs.Blazor.Components/deps.nix: Read-only file system
You can't use .# because that'll be a read-only copy. Try -f . instead
19:33:03
@emma:rory.gayEmma [it/its]oh apparently you can just pass a path... lol19:33:05
@emma:rory.gayEmma [it/its]that fails because i dont have a default.nix... lol19:33:38
@corngood:corngood.comCorngoodYou can pass a .nix file path instead of .19:34:14
@emma:rory.gayEmma [it/its]i have a flake.nix19:34:26
@emma:rory.gayEmma [it/its]thats the only .nix file i have19:34:29

Show newer messages


Back to Room ListRoom Version: 9