!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

125 Members
24 Servers

Load older messages


SenderMessageTime
6 Apr 2026
@corngood:corngood.comCorngoodfetch-deps does something like that, so it should be possible 14:23:22
7 Apr 2026
@emma:rory.gayEmma [it/its] did some digging, if im understanding it right, the path to the nuget deps list isn't re-exported 08:07:51
@emma:rory.gayEmma [it/its]

https://github.com/NixOS/nixpkgs/blob/3d13509c6e00130246f5c482a18fa2a6179237e6/pkgs/build-support/dotnet/add-nuget-deps/default.nix

this imports the nuget package lock as is, replacing it in the derivation, and adds the nuget deps based on the original attributes

08:09:12
@emma:rory.gayEmma [it/its] so it seems that adding a __nugetDeps attribute to the derivation myself is the right call here 08:10:00
8 Apr 2026
@jammie:matrix.orgJamieMagee set a profile picture.03:42:57
9 Apr 2026
@emma:rory.gayEmma [it/its]hm, i wonder how to work around weird path resolution with the fetch deps script20:07:00
@emma:rory.gayEmma [it/its]
sh-5.3$  ./update-deps-Spacebar-Cdn-Worker-x86_64-Q8 Spacebar.Cdn.Worker/deps.x86_64-Q8.json
fetching dependencies for Spacebar.Cdn.Worker-x86_64-Q8-1.0.0-preview.20260406-122855
Running phase: unpackPhase
unpacking source archive /nix/store/dmrp0wjz109whwl353wjlxlziv3qriyg-source
source root is source
Running phase: patchPhase
Running phase: configureNuget
The template "NuGet Config" was created successfully.

Processing post-creation actions...



Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Executing dotnetConfigureHook
MSBUILD : error MSB1009: Project file does not exist.
Switch: Spacebar.Cdn.Worker-x86_64-Q8.csproj
20:07:36
@emma:rory.gayEmma [it/its]wait, i think i may have footgunned myself20:12:53
@emma:rory.gayEmma [it/its]yep, i flipped 2 args in my project names lol20:15:58
14 Apr 2026
@lostmsu:matrix.orglostmsuHm, still waiting for workloads PR to be merged: https://github.com/NixOS/nixpkgs/pull/49803320:18:13
@corngood:corngood.comCorngoodI still want to change a few things as discussed on the PR. I was hoping to do it along with the April releases.20:45:20
20 Apr 2026
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
21:23:54
@emma:rory.gayEmma [it/its]i dont remember if the VMR thing was supposed to be fixed or not (or whether its just not cached atm on unstable?)21:24:13
@emma:rory.gayEmma [it/its]* clipboard.png
Download * clipboard.png
21:25:07
@corngood:corngood.comCorngoodIt's probably still building21:42:31
22 Apr 2026
@emma:rory.gayEmma [it/its]hm, i wonder if it would be considered too expensive (maintenance, eval overhead) wise to export more metadata in the derivation about a project?16:10:46
@k900:0upti.meK900Probably want to talk to SBOM people about this16:11:12
@emma:rory.gayEmma [it/its]i was thinking ie. the path to the deps.json and attrs/attrnames for projectReferences (which i guess would have similar problems as the SBOM team, yeah)16:12:09
@emma:rory.gayEmma [it/its](particularly, im just reflecting on my own struggles of maintaining deps.json files in a monorepo)16:15:03
@emma:rory.gayEmma [it/its]* (particularly, im just reflecting on my own struggles of maintaining deps.json files in a monorepo, for which im currently maintaining my own wrapper for buildDotnetModule...)16:15:19
@emma:rory.gayEmma [it/its]hm, no room seems to be listed on the nixos.org room dir, got a link for me?16:16:04
@k900:0upti.meK900I think it's just #sbom:nixos.org?16:16:40
@k900:0upti.meK900I'm not in it16:16:41
@emma:rory.gayEmma [it/its] matrix:r/sbom:nixos.org let's see 16:16:55
@emma:rory.gayEmma [it/its]doesnt seem to be valid16:17:28
@emma:rory.gayEmma [it/its]clipboard.png
Download clipboard.png
16:17:38
@9hp71n:matrix.orgghpzin Probably this #nixpkgs-sbom:matrix.org:
https://matrix.to/#/#nixpkgs-sbom:matrix.org
19:00:47
@emma:rory.gayEmma [it/its]well, now ive realised my idiocy, im already in that room despite not being able to find it in the space at all ^^'19:01:47
@emma:rory.gayEmma [it/its](and getting no search results for sbom in my client...)19:02:04
@emma:rory.gayEmma [it/its]hm, fetch-deps seems to fail if i define a non string property...?19:44:06

Show newer messages


Back to Room ListRoom Version: 9