!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

125 Members
24 Servers

Load older messages


SenderMessageTime
19 Feb 2026
@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
13 Oct 2022
@winterqt:nixos.devWinter (she/her) joined the room.17:56:01
12 Nov 2022
@sg-qwt:nltrix.net321, jiayou! joined the room.09:31:11
@sg-qwt:nltrix.net321, jiayou! left the room.09:31:52
16 Nov 2022
@omlet:matrix.orgomlet joined the room.20:33:57
25 Nov 2022
@raphi:tapesoftware.netraphi changed their profile picture.19:41:53
1 Dec 2022
@hexa:lossy.networkhexa changed their display name from hexa to hexa (22.11 now).13:08:55
@hexa:lossy.networkhexa changed their display name from hexa (22.11 now) to hexa.14:38:43
12 Jan 2023
@daniel:nopemail.orgdaniel joined the room.12:58:04
@daniel:nopemail.orgdanielAnyone who has some experience with packaging a .NET-project using flakes? All prior art I’ve found seems to use the legacy way.13:02:55
@winterqt:nixos.devWinter (she/her)
In reply to @daniel:nopemail.org
Anyone who has some experience with packaging a .NET-project using flakes? All prior art I’ve found seems to use the legacy way.

flakes are the same way as the "legacy way," all flakes help with is exposing the package.

what trouble are you running into?

14:23:13
@daniel:nopemail.orgdaniel
In reply to @winterqt:nixos.dev

flakes are the same way as the "legacy way," all flakes help with is exposing the package.

what trouble are you running into?

How to "expose"/run fetch-deps
14:24:38
@winterqt:nixos.devWinter (she/her) just do nix build .#whateverPackage.fetch-deps 14:25:11
@daniel:nopemail.orgdanielI did that over and over, realized now that I of course called it with the wrong package name. Thanks though!14:29:12
@winterqt:nixos.devWinter (she/her)
In reply to @daniel:nopemail.org
I did that over and over, realized now that I of course called it with the wrong package name. Thanks though!
(was it not erroring?)
14:31:10
@daniel:nopemail.orgdaniel
In reply to @winterqt:nixos.dev
(was it not erroring?)
It was, but I thought that meant that somehow fetch-deps didn't pass through correctly.
14:33:24
17 Jan 2023
@daniel:nopemail.orgdanielFetch-deps doesn't seem to handle project references correctly, am I observing this right? The script wants to look for the project dependencies in the "nuget.org" source.11:07:33
@raphi:tapesoftware.netraphi in my experience <ProjectReference> just works, as long both the referring project and the referenced project are part of src
example: https://github.com/raphaelr/nugettest
if they are separated search for projectReferences in the nixpkgs manual
11:48:50
22 Jan 2023
@omlet:matrix.orgomlet left the room.20:26:21
24 Mar 2023
@quapka:matrix.orgquapka joined the room.15:07:46
@quapka:matrix.orgquapka Hi guys, is there a minimal flake.nix template for a .NET project? 15:27:17

Show newer messages


Back to Room ListRoom Version: 9