!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

120 Members
23 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Aug 2025
@whovian9369:matrix.orgWhovian9369 * 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
@corngood:corngood.comCorngoodOh 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
@whovian9369:matrix.orgWhovian9369Ah good23:35:55
@whovian9369:matrix.orgWhovian9369That'll help, especially if Hydra caches it this time.23:37:30
20 Aug 2025
@tris203:matrix.orgtris203 joined the room.20:03:13
21 Aug 2025
@whovian9369:matrix.orgWhovian9369 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
@whovian9369:matrix.orgWhovian9369 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
@whovian9369:matrix.orgWhovian9369 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
@emma:rory.gayEmma [it/its]doesnt nuget2nix include custom repos from nuget.config?09:24:56
@corngood:corngood.comCorngoodYeah, `fetch-deps` should just work. You wouldn't usually get CS0246 from a missing nuget dependency.10:40:58
@whovian9369:matrix.orgWhovian9369Well I don't have the repo added yet, but good to know, thanks.13:29:12
@whovian9369:matrix.orgWhovian9369

Sorry, those are basically two different errors.

The original error was NU1101 ("error NU1101: Unable to find package NAME. No packages exist with this id in source(s): nuget, _nix") for Kaligraphy, Kanvas, Kompression, and Komponent.

CS0246 is from me trying to self-package Komponent, Kaligraphy, and Kanvas to provide the derivation.
(k2Repo in the following is just me trying to set the used src once in flake.nix and passing it to the derivations that way so I don't have to update the used commit info more than once)

{
  packages.x86_64-linux = {
    default = pkgs.callPackage ./package.nix { inherit k2Repo; komponent = self.packages.${system}.komponent; kaligraphy = self.packages.${system}.kaligraphy; kanvas = self.packages.${system}.kanvas; };
    komponent = pkgs.callPackage ./komponent.nix { inherit k2Repo; };
    kaligraphy = pkgs.callPackage ./kaligraphy.nix { inherit k2Repo; komponent = self.packages.${system}.komponent; };
    kanvas = pkgs.callPackage ./kanvas.nix { inherit k2Repo; komponent = self.packages.${system}.komponent; };
  };
};
13:43:49

Show newer messages


Back to Room ListRoom Version: 9