!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
23 Servers

Load older messages


SenderMessageTime
4 Feb 2026
@emma:rory.gayEmma [it/its]
==> Getting outputs...
==> Updating dependencies for 1 projects...
  ==> Updating Spacebar-Interop-Authentication-AspNetCore...
    ==> Getting project root directory... Interop/Spacebar.Interop.Authentication.AspNetCore
    ==> Interop/Spacebar.Interop.Authentication.AspNetCore/deps.json exists: True
      ==> Building fetch-deps script...
warning: Git tree '/home/Rory/git/spacebar/server-master' is dirty
      ==> Running fetch-deps script...
fetching dependencies for Spacebar.Interop.Authentication.AspNetCore-1.0.0-preview.20260204-000039
      ==> Locked 0 dependencies...

fetch-deps isnt picking up any dependencies either

02:28:40
@emma:rory.gayEmma [it/its]
Spacebar.Interop.Authentication.AspNetCore> Build FAILED.
Spacebar.Interop.Authentication.AspNetCore>        "/build/source/Spacebar.Interop.Authentication.AspNetCore.csproj" (Restore target) (1) ->
Spacebar.Interop.Authentication.AspNetCore>        (Restore target) ->
Spacebar.Interop.Authentication.AspNetCore>          /build/source/Spacebar.Interop.Authentication.AspNetCore.csproj : error NU1101: Unable to find package ArcaneLibs. No packages exist with this id in source(s): /nix/store/q8dadmxlzghlh64rgmvpkxka32yg44n9-dotnet-sdk-10.0.102/share/dotnet/library-packs, _nix
Spacebar.Interop.Authentication.AspNetCore>          /build/source/Spacebar.Interop.Authentication.AspNetCore.csproj : error NU1101: Unable to find package Spacebar.Models.Db. No packages exist with this id in source(s): /nix/store/q8dadmxlzghlh64rgmvpkxka32yg44n9-dotnet-sdk-10.0.102/share/dotnet/library-packs, _nix
Spacebar.Interop.Authentication.AspNetCore>          /build/source/Spacebar.Interop.Authentication.AspNetCore.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): /nix/store/q8dadmxlzghlh64rgmvpkxka32yg44n9-dotnet-sdk-10.0.102/share/dotnet/library-packs, _nix
02:29:03
13 Feb 2026
@corngood:corngood.comCorngood https://github.com/NixOS/nixpkgs/pull/489952 The February releases include .net 11 preview 104:08:37
@hoplophfeil:matrix.orghoplopf joined the room.10:26:59
@jammie:matrix.orgJamieMageeCould use a review if anyone has time: https://github.com/NixOS/nixpkgs/pull/49021520:35:03
15 Feb 2026
@flafydev:matrix.orgFlafy changed their display name from Flafy (moving to @flafy:flafy.dev) to Flafy.21:47:39
@lostmsu:matrix.orglostmsu JamieMagee: I pinged you as I had a similar PR open for a while. I also bump SDK to .NET 10 (so that we won't have to touch this for a while). 23:25:02
@lostmsu:matrix.orglostmsu * JamieMagee: I pinged you as I had a similar PR open. I also bump SDK to .NET 10 (so that we won't have to touch this for a while). 23:25:14
@lostmsu:matrix.orglostmsuMy PR: https://github.com/NixOS/nixpkgs/pull/48660523:27:10
@lostmsu:matrix.orglostmsuBTW, I am co-maintainer of Python.NET (not just on NixOS)23:27:41
19 Feb 2026
@whovian9369:matrix.orgWhovian9369

Hello! What exactly should I do if I go to build a derivation and run into this error?

ln: failed to create symbolic link '/build/nuget.1U96kM/fallback/microsoft.netcore.app.runtime.linux-x64/8.0.23': File exists

19:55:31
@whovian9369:matrix.orgWhovian9369 Oh it's likely something to do with repeated entries in deps.json - I'll see if regenerating that fixes it! 20:00:53
@whovian9369:matrix.orgWhovian9369 Yep, that was it - Whoops. Oh well, apologies! 20:02:17
21 Feb 2026
@emma:rory.gayEmma [it/its]hm, i wonder why buildDotnetModule would... ignore a deps.json file?04:04:30
@emma:rory.gayEmma [it/its]particularly, i did the fetch-deps stuff, the deps.json isnt empty, its staged into git, its referenced in my derivation, yet it complains it cant find any dependencies04:08:12
@emma:rory.gayEmma [it/its]cleared out the deps file and i noticed that it doesnt even seem to write to it, it just does nothing04:36:02
@corngood:corngood.comCorngoodfetch-deps can only write directly to a deps.json when it's evaluated impure. Maybe you're evaluating it through a flake? In that case you can pass it the output path as a command line arg 14:22:32
22 Feb 2026
@blazeeaglegale09:matrix.orgBlaze joined the room.02:54:34
@emma:rory.gayEmma [it/its]that's what im doing already23:40:09
@emma:rory.gayEmma [it/its] hence it not making sense that it just... returns [] 23:41:03
23 Feb 2026
@corngood:corngood.comCorngoodYou can run `fetch-drv` in a dev shell and then see what ends up in the nuget packages dir.00:54:11
1 Mar 2026
@anthroocelotpoggers3535:matrix.org~Poggers >w< joined the room.01:17:43
2 Mar 2026
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Hi, I'm trying to run a locally installed .NET tool (according to nuget.org it's targeting .NET 8 and 9) and I have globally installed .NET SDK 8, 9 and 10 (combined). When I try to run the tool dotnet is requesting v9 but only finds v10. If I drop into a nix shell with dotnet-sdk_9 it works but why doesn't it work with the combined SDK? I need to use it in my .NET 10 project as part of the build process.10:04:34
@wiiplayer2:matrix.orgWaldemar Tomme (they/them)Ah, wait, it works in the build process but still not when I try to invoke it directly. At least I can work with it for now but still weird that the direct call doesn't work.10:10:13
@corngood:corngood.comCorngood
In reply to @wiiplayer2:matrix.org
Hi, I'm trying to run a locally installed .NET tool (according to nuget.org it's targeting .NET 8 and 9) and I have globally installed .NET SDK 8, 9 and 10 (combined). When I try to run the tool dotnet is requesting v9 but only finds v10. If I drop into a nix shell with dotnet-sdk_9 it works but why doesn't it work with the combined SDK? I need to use it in my .NET 10 project as part of the build process.

That sounds like https://github.com/NixOS/nixpkgs/issues/464575

We should really get that fixed...

11:46:24
@sharkravenavalibunny543133:matrix.orgAspen Santos joined the room.20:39:30
@samuel:mnzn.devSamuel That issue has been bothering me for a while as well, but I don't know how to fix it. 22:29:30
@corngood:corngood.comCorngoodWell I think the brute force option would be to stop using symlinks to combine sdks/runtimes, but I hate that 23:45:16
3 Mar 2026
@samuel:mnzn.devSamuel So like copy all the sdks together into a giant directory? 00:28:44
@samuel:mnzn.devSamuel Yeah that wouldn't be great. 00:29:03

Show newer messages


Back to Room ListRoom Version: 9