!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

117 Members
23 Servers

Load older messages


SenderMessageTime
25 Jan 2026
@emma:rory.gayEmma [it/its] im in their weird valley atm where dotnet package search will find my stuff, but dotnet restore doesnt 18:04:18
@emma:rory.gayEmma [it/its]
sh-5.3$ dotnet restore
    /home/Rory/git/spacebar/server-master/extra/admin-api/Utilities/Spacebar.Cdn.Fsck/Spacebar.Cdn.Fsck.csproj : error NU1102: 
      Unable to find package ArcaneLibs with version (>= 1.0.1-preview.20260125-175232)
        - Found 101 version(s) in nuget [ Nearest version: 1.0.0-preview9938860405.f09a666 ]
        - Found 0 version(s) in /nix/store/q8dadmxlzghlh64rgmvpkxka32yg44n9-dotnet-sdk-10.0.102/share/dotnet/library-packs
        - Found 0 version(s) in /nix/store/vknqgc4mvkjmgvxb5vk8y6b83lr85mjc-ArcaneLibs-1.0.1-preview.20260125-175232-nuget-artifacts
        - Found 0 version(s) in Infragistics
        - Found 0 version(s) in dotnet10-transport
    /home/Rory/git/spacebar/server-master/extra/admin-api/Interop/Spacebar.Interop.Cdn.Abstractions/Spacebar.Interop.Cdn.Abstractions.csproj : error NU1102: 
      Unable to find package ArcaneLibs with version (>= 1.0.1-preview.20260125-175232)
        - Found 101 version(s) in nuget [ Nearest version: 1.0.0-preview9938860405.f09a666 ]
        - Found 0 version(s) in /nix/store/q8dadmxlzghlh64rgmvpkxka32yg44n9-dotnet-sdk-10.0.102/share/dotnet/library-packs
        - Found 0 version(s) in /nix/store/vknqgc4mvkjmgvxb5vk8y6b83lr85mjc-ArcaneLibs-1.0.1-preview.20260125-175232-nuget-artifacts
        - Found 0 version(s) in Infragistics
        - Found 0 version(s) in dotnet10-transport

Restore failed with 2 error(s) in 2.6s

sh-5.3$ dotnet package search --prerelease 'ArcaneLibs'
****************************************
Source: /nix/store/vknqgc4mvkjmgvxb5vk8y6b83lr85mjc-ArcaneLibs-1.0.1-preview.20260125-175232-nuget-artifacts (file:///nix/store/vknqgc4mvkjmgvxb5vk8y6b83lr85mjc-ArcaneLibs-1.0.1-preview.20260125-175232-nuget-artifacts)
| Package ID                     | Latest Version                | Owners | Total Downloads |
| ------------------------------ | ----------------------------- | ------ | --------------- |
| ArcaneLibs.Logging             | 1.0.1-preview.20260125-175232 |        | N/A             |
| ------------------------------ | ----------------------------- | ------ | --------------- |
| ArcaneLibs.Blazor.Components   | 1.0.1-preview.20260125-175232 |        | N/A             |
| ------------------------------ | ----------------------------- | ------ | --------------- |
| ArcaneLibs.Legacy              | 1.0.1-preview.20260125-175232 |        | N/A             |
| ------------------------------ | ----------------------------- | ------ | --------------- |
| ArcaneLibs.StringNormalisation | 1.0.1-preview.20260125-175232 |        | N/A             |
| ------------------------------ | ----------------------------- | ------ | --------------- |
| ArcaneLibs.Timings             | 1.0.1-preview.20260125-175232 |        | N/A             |
| ------------------------------ | ----------------------------- | ------ | --------------- |
| ArcaneLibs                     | 1.0.1-preview.20260125-175232 |        | N/A             |
| ------------------------------ | ----------------------------- | ------ | --------------- |
18:05:41
@emma:rory.gayEmma [it/its](this is outside of makeDotnetMdoule)18:08:47
@corngood:corngood.comCorngoodWhere are the nupkgs coming from? It'll need to be in nuget.config18:16:18
@emma:rory.gayEmma [it/its]output of buildDotnetModule with pack=true, that im then zipping up18:16:51
@emma:rory.gayEmma [it/its](as i already had the zipping stuff, as i was already using the output to publish directly to nuget.org, but currently trying to work around the 15-30min delay in dev cycles by shoving them in a directory and adding that as a global NuGet source)18:17:50
@emma:rory.gayEmma [it/its]so current state of things is that i have a derivation that contains my entire repository's projects as .nupkg files in a directory, and im adding the nix store path to my nuget.cofig directly18:21:01
@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 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

There are no newer messages yet.


Back to Room ListRoom Version: 9