!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

116 Members
23 Servers

Load older messages


SenderMessageTime
22 Apr 2026
@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
@emma:rory.gayEmma [it/its]
error:
       … while evaluating an expression to select 'drvPath' on it
         at «internal»:1:552:
       … while evaluating strict
         at «internal»:1:552:
       (stack trace truncated; use '--show-trace' to show the full trace)

       error: cannot coerce a set to a string: { derivations = «thunk»; names = «thunk»; }

       note: trace involved the following derivations:
       derivation 'Spacebar.Cdn-1.0.0-preview.20260421-191102-fetch-deps'
       derivation 'Spacebar.Cdn-1.0.0-preview.20260421-191102'

(for context: i added a custom namespaced attribute to the drv called __sbDmProjectReferences)

19:44:46
@k900:0upti.meK900 You have to put it at passthru 19:45:44
@k900:0upti.meK900Otherwise it tries to convert it to an environment variable19:45:52
@emma:rory.gayEmma [it/its]d'oh19:45:58
29 Apr 2026
@emma:rory.gayEmma [it/its]hm, i wonder if there's any art out there by chance of using dotnet's own package.lock.json files with buildDotnetModule?17:19:16
@emma:rory.gayEmma [it/its] there's https://github.com/mdarocha/nuget-packageslock2nix, which seems pretty trivial? 17:21:43
@corngood:corngood.comCorngoodhttps://github.com/NixOS/nixpkgs/pull/342670 I think this is the most recent attempt. there were a few problems17:24:52
@emma:rory.gayEmma [it/its]right, i wasnt aware of the RID challenge...17:27:15
@emma:rory.gayEmma [it/its]or well, hadnt thought of it i guess?17:27:57
@emma:rory.gayEmma [it/its]well, that's annoying...17:30:41
7 May 2026
@rasmata:matrix.org@rasmata:matrix.org joined the room.17:34:17
@rasmata:matrix.org@rasmata:matrix.org left the room.17:34:24
13 May 2026
@zzynix:matrix.orgZynixRider is one of the most widely used IDEs for .NET development on Linux, so I think the current packaging choice on NixOS is a bit questionable. Right now Rider is packaged without FHS support by default. In practice, a lot of people use Rider for Avalonia UI development, and that often requires extra dependencies or an FHS environment to work properly. Because of that, I think it would make more sense if the default Rider package either included the commonly needed Avalonia-related dependencies or provided FHS compatibility by default. Has there been any discussion or planning around this already?03:50:05
@corngood:corngood.comCorngoodI haven't seen anything, but I don't use Rider. It might be worth creating an issue that describes some of the challenges in a bit more detail. I've thought quite a bit about how packages like Avalonia could/should work in nixpkgs, but I'm not sure if your problems are related.15:29:58
@emma:rory.gayEmma [it/its]thank god its not FHS15:32:28
@sandro:supersandro.de@sandro:supersandro.de left the room.20:27:58
20 May 2026
@lostmsu:matrix.orglostmsuWhat's the status of the .NET workloads? https://github.com/NixOS/nixpkgs/pull/498033 has not been updated for a while. I think it is getting into the perfect is the enemy of good category. Not a lot of people are testing this because it is not available in nixpkgs and is not documented. There are a couple of issues, but nothing blocking as far as I can see.15:10:30
@lostmsu:matrix.orglostmsu JamieMagee: tagged you as there are unresolved conflicts with the current master 15:16:28
@emma:rory.gayEmma [it/its]they work-ish for me15:24:41
@emma:rory.gayEmma [it/its] * ever since user-local workload installations were enabled, needs manual patchelf'ing though (and ofcourse that doesnt work in nix expressions...) 15:25:50
@emma:rory.gayEmma [it/its]Download Program.cs15:26:28
@emma:rory.gayEmma [it/its]Download WorkloadPatchElf.csproj15:26:28
@emma:rory.gayEmma [it/its]this works for me, at least for the wasm-tools workload for .net 1015:26:56
@corngood:corngood.comCorngood
In reply to @lostmsu:matrix.org
What's the status of the .NET workloads? https://github.com/NixOS/nixpkgs/pull/498033 has not been updated for a while. I think it is getting into the perfect is the enemy of good category. Not a lot of people are testing this because it is not available in nixpkgs and is not documented. There are a couple of issues, but nothing blocking as far as I can see.
I think the big blocker for me is that it seems to be stuck using old versions of the packages. It needs to get updated manifests instead of only using the bundled ones. I haven't had a chance to work on it lately.
15:37:36
26 May 2026
@phanirithvij:matrix.orgphanirithvij changed their display name from loudgolem to phanirithvij.11:41:09
28 May 2026
@crgre:matrix.org@crgre:matrix.org left the room.04:41:14
1 Jun 2026
@ranidspace:4d2.orgranidspace (they/it/xe) joined the room.16:31:38

Show newer messages


Back to Room ListRoom Version: 9