Nix + dotnet | 119 Members | |
| 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Aug 2025 | ||
| Oh no, it's not.
I can probably just remove the | 20:06:50 | |
| You can modify global.json to allow patch level roll-forward. See `roslyn-ls` | 20:59:54 | |
| In this case it would be a fall back, but thank ya. It's something that I'll check later.
| 21:59:26 | |
Oh wow I didn't know about that jq feature - That's very nice! | 22:12:43 | |
* Oh wow I didn't know about that jq feature used via roslyn-ls (In this case jq '.sdk.rollForward = "latestMinor"' < global.json) - That's very nice! | 22:15:30 | |
| Oh I misunderstood that you were going forward a version... Preview 7 is currently in a PR. Just having a few lingering problems with it. | 23:34:06 | |
| Ah good | 23:35:55 | |
| That'll help, especially if Hydra caches it this time. | 23:37:30 | |
| 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 | |
So you definitely want to build all of these as separate nix derivations? If so, you need to make sure the dependent projects reference the dependencies with PackageReference, and you'll need to make sure the dependencies are built with packNupkg = true, and included in buildInputs of the dependent derivation. | 14:55:51 | |
| Actually, you don't have to do it that way. I suppose you could publish them and set up references without nuget, but I don't really see the benefit of doing it that way. | 14:58:25 | |
If you can think of a good alternate way to do it that makes fetch-deps happy, I'm all ears. | 15:24:39 | |
| Oh I forgot to respond to the rest of the post, sorry.
The derivations for | 15:46:56 | |
This project doesn't seem to use | 16:54:50 | |
Yeah I'm wanting to build Kuriimu2.ImGui.csproj so I'll see if I can collapse it all nicely, thanks for the time! | 17:16:03 | |
| 24 Aug 2025 | ||
| I've got a couple of .NET 6 EOL PRs if anyone has time to review
| 08:37:44 | |
| One more: https://github.com/NixOS/nixpkgs/pull/436539 | 18:25:49 | |
| 26 Aug 2025 | ||
| Going to try and do some mono cleanup as well https://github.com/NixOS/nixpkgs/pull/436972 | 03:01:19 | |
| https://github.com/NixOS/nixpkgs/pull/436991 | 03:16:53 | |
I'm guessing dotnetCorePackages.dotnet_10.vmr is still broken on Hydra with 10.0.0-preview.7? | 08:04:00 | |