Nix + dotnet | 121 Members | |
| 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jan 2023 | ||
| 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 | ||
| 14 Apr 2023 | ||
| 07:32:29 | ||
| 18:31:55 | ||
| 30 Apr 2023 | ||
| 05:32:59 | ||
| 14:03:23 | ||
| hi, i had a go at packaging a dotnet project https://github.com/NixOS/nixpkgs/commit/7d7d2bfee091dd389eb51bdac1a363cfc27643b4 | 14:06:06 | |
| did i miss anything obvious? or is there a way to get a more verbose failure? | 14:07:05 | |
| I don't see anything obvious in your code, but I'm getting a weird error when building all dotnet packages for some reason
| 22:30:04 | |
| * I don't see anything obvious in your code, but I'm getting a weird error when building all dotnet packages for some reason
| 22:30:09 | |
| * I don't see anything obvious in your code, but I'm getting a weird error when building all dotnet packages for some reason
An error that I'm getting for a different derivation, getting the same for all my dotnet derivations
| 22:30:16 | |
| * I don't see anything obvious in your code, but I'm getting a weird error when building all dotnet packages for some reason
An error that I'm getting for a different derivation, getting the same for all my dotnet derivations | 22:30:22 | |
| esterdayperhaps this is a nixpkgs issue that was introduced recently? didn't find anything on it when searching y | 22:30:56 | |
| * perhaps this is a nixpkgs issue that was introduced recently? didn't find anything on it when searching yesterday | 22:31:01 | |