Nix + dotnet | 114 Members | |
| 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Aug 2025 | ||
| yes, because the csproj has an exclusion for that iirc | 00:00:48 | |
| It doesnt though? | 07:24:09 | |
| Local was just an example, pick anything and it wont be copied | 07:24:57 | |
| 18 Aug 2025 | ||
| It took me all weekend to read this correctly, haha. So the entire project has a solution file (and an slnf file for excluding tests). I was under the assumption I needed to build each one individually to get everything to work, that's not true? | 19:17:24 | |
| no | 19:17:46 | |
you can just build the "entry" project (i.e. MyProject.CLI.csproj) and and ProjectReferences it has will be built along with it (and also included in deps.json | 19:18:16 | |
* you can just build the "entry" project (i.e. MyProject.CLI.csproj or MyProject.UI.csproj) and and ProjectReferences it has will be built along with it (and also included in deps.json | 19:18:29 | |
| Dang haha that's way easier, probably builds faster as well.. | 19:19:35 | |
* you can just build the "entry" project (i.e. MyProject.CLI.csproj or MyProject.UI.csproj) and and ProjectReferences it has will be built along with it (and also included in deps.json when you run passthru.fetch-deps) | 19:22:38 | |
| 19 Aug 2025 | ||
Corngood: Still need someone to test building dotnetCorePackages.dotnet_10.vmr? | 16:34:23 | |
I get to patchPhase at least, that's good. ... And then to configurePhase! | 16:47:46 | |
Got to buildPhase! | 16:51:05 | |
| The crash we've been seeing was in configurePhase, so it looks like you're not hitting it. Thanks for testing though | 16:51:43 | |
| Ah that's all then? Cool. I'll see how far I get in the build then! | 16:52:27 | |
So it took 2 hours but | 18:48:30 | |
| Oh thank goodness, that build was the same derivation as what I needed to use for the package that I wanted to build with it anyway. Yay for not needing another 2 hour build! | 20:05:00 | |
| 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 | |