Nix + dotnet | 126 Members | |
| 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 22 Apr 2026 | ||
(for context: i added a custom namespaced attribute to the drv called | 19:44:46 | |
You have to put it at passthru | 19:45:44 | |
| Otherwise it tries to convert it to an environment variable | 19:45:52 | |
| d'oh | 19:45:58 | |
| 13 Oct 2022 | ||
| 17:56:01 | ||
| 12 Nov 2022 | ||
| 09:31:11 | ||
| 09:31:52 | ||
| 16 Nov 2022 | ||
| 20:33:57 | ||
| 25 Nov 2022 | ||
| 19:41:53 | ||
| 1 Dec 2022 | ||
| 13:08:55 | ||
| 14:38:43 | ||
| 12 Jan 2023 | ||
| 12:58:04 | ||
| Anyone 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 | |
In reply to @daniel:nopemail.org 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 | |
In reply to @winterqt:nixos.devHow to "expose"/run fetch-deps | 14:24:38 | |
just do nix build .#whateverPackage.fetch-deps | 14:25:11 | |
| I did that over and over, realized now that I of course called it with the wrong package name. Thanks though! | 14:29:12 | |
In reply to @daniel:nopemail.org(was it not erroring?) | 14:31:10 | |
In reply to @winterqt:nixos.devIt was, but I thought that meant that somehow fetch-deps didn't pass through correctly. | 14:33:24 | |
| 17 Jan 2023 | ||
| Fetch-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 | |
in my experience <ProjectReference> just works, as long both the referring project and the referenced project are part of srcexample: https://github.com/raphaelr/nugettest if they are separated search for projectReferences in the nixpkgs manual | 11:48:50 | |
| 22 Jan 2023 | ||
| 20:26:21 | ||
| 24 Mar 2023 | ||
| 15:07:46 | ||
Hi guys, is there a minimal flake.nix template for a .NET project? | 15:27:17 | |
| Non-flake attempt: I am trying to make it work like this:
But still failing. | 15:38:42 | |
Getting You must install .NET to run this application. error message. | 15:38:56 | |
| This seems to be enough to get the project up and running:
| 16:38:21 | |
| If anyone finds this helpful, this is how I've turned that into a
| 16:45:51 | |
Hm, any ideas when *.nuspec file is missing? Therefore the nuget-to-nix file seems to file and consequently I can't run buildDotnetModule, becuase it requires the nugetDeps to be set. | 17:32:22 | |
| 26 Mar 2023 | ||
| 00:33:02 | ||