Nix + dotnet | 121 Members | |
| 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 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 | |
| 2 May 2023 | ||
| ugh mkNugetSource is using mono to run nuget | 18:44:46 | |
| possibly related: https://lore.kernel.org/all/32f156ba80010fd97dbaf0a0cdfc84366608624d.camel@intel.com/ | 18:46:07 | |
| * possibly related: https://lore.kernel.org/all/cb8dc31a-fef2-1d09-f133-e9f7b9f9e77a@sony.com/ | 18:47:36 | |
| I suppose kernel regression would make sense for this issue, wonder if anyone has reported this for mono as well | 19:54:45 | |
In reply to @raphi:tapesoftware.netI think Nuget itself is packaged with mono, as MS only seems to release a .exe for it? | 19:55:30 | |
the bug seems to only happen if the stars align. if i run nuget init outside of the nix sandbox it succeeds. i can also run a highly nontrivial mono application just fine. i can also run a tiny c program that calls mmap(... MAP_32BIT) inside of the nix sandbox. | 19:56:53 | |
yeah i was looking into it. the closest thing the .net core CLI has is dotnet nuget push which doesn't have the same semantics | 19:57:15 | |
| Wish there was a good way to git bisect through kernel versions to check if it is a regression lol | 20:04:10 | |
| * Wish there was a good way to git bisect through kernel versions to check if it is a kernel regression lol | 20:05:40 | |
In reply to @raphi:tapesoftware.netMan it is so weird that the nuget CLI requires mono on linux still... I suppose ms expects people to mostly use the .net core cli? | 20:19:09 | |