Nix + dotnet | 117 Members | |
| 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 20 Aug 2025 | ||
| 20:03:13 | ||
| 21 Aug 2025 | ||
| Hey just to check, is there a recommended way to add a Nuget repo to get Nugets from during a build? Alternatively, is there a good way to build some Nugets from the same repo as the project I'm trying to build, provide them for fetch-deps, and use them for the build? I would just use a different Flake output, but I'm not sure if that's a "recommended" way to do that kind of thing. | 06:45:46 | |
Some context: I'm wanting to build https://github.com/FanTranslatorsInternational/Kuriimu2 (/src/ui/Kuriimu2.ImGui/Kuriimu2.ImGui.csproj) but fetch-deps is erroring on some dependencies from the repo itself: Kaligraphy, Kanvas, Kompression, and Komponent. | 06:47:23 | |
Huh, now I seem to be getting a successful fetch-deps for the extra dependencies, but nix build -L .#kanvas seems to be running into... error CS0246: The type or namespace name 'Komponent' could not be found (are you missing a using directive or an assembly reference?) | 07:46:53 | |
| doesnt nuget2nix include custom repos from nuget.config? | 09:24:56 | |
| Yeah, `fetch-deps` should just work. You wouldn't usually get CS0246 from a missing nuget dependency. | 10:40:58 | |
| Well I don't have the repo added yet, but good to know, thanks. | 13:29:12 | |
| Sorry, those are basically two different errors. The original error was
| 13:43:49 | |
When trying to build kanvas I seem to actually be hitting CS0246 multiple times for Komponent and some other entries. (ByteOrder, BitOrder seem to be the other main prints for that error code.) | 13:46:45 | |
| Redacted or Malformed Event | 13:51:49 | |
| I suppose sending the build log would be handy for support, huh? 😅 https://pastebin.com/raw/GDQbrGLe | 13:53:35 | |