Nix + dotnet | 124 Members | |
| 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Dec 2022 | ||
| 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 | |