!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

124 Members
24 Servers

Load older messages


SenderMessageTime
25 Jan 2026
@emma:rory.gayEmma [it/its] the part i dont understand, is why its able to find them with dotnet package search, but then fails to restore in that same environment if you actually try to use it? 18:54:52
@emma:rory.gayEmma [it/its]
export DOTNET_CLI_HOME=/tmp
for path in ${pkgs.lib.concatStringsSep " " outPaths}; do
  ${pkgs.dotnet-sdk_10}/bin/dotnet nuget push "$path" --source "$out"
done

unsure why, but using this as an intermediary derivation does the trick

20:06:40
@corngood:corngood.comCorngoodStrange. Maybe if you compare that intermediary source to the nix store one?20:53:49
26 Jan 2026
@samuel:mnzn.devSamuel FYI nuget likes to cache things, even if you select a local directory as the package source. So if you don't change the version it might not pick up new changes. 18:52:05
@samuel:mnzn.devSamuel * FYI nuget likes to cache things, even if you select a local directory as the package source. So if you don't change the version number of a package it might not pick up new changes. I ran I to that before. 18:52:38
@samuel:mnzn.devSamuel * 18:52:52
1 Feb 2026
@sigmasquadron:matrix.orgFernando Rodrigues changed their display name from SigmaSquadron to Fernando Rodrigues.10:42:22
4 Feb 2026
@emma:rory.gayEmma [it/its]im awell are, i was clearing locals before testing00:31:29
@emma:rory.gayEmma [it/its]in another question: if i have ProjectReferences in a buildDotnetModule, it doesnt inherit dependencies, doe sit?00:31:45
@emma:rory.gayEmma [it/its]* in another question: if i have ProjectReferences in a buildDotnetModule, it doesnt inherit dependencies, does it?00:31:48
@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 (moving to @flafy:flafy.dev) 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

Show newer messages


Back to Room ListRoom Version: 9