Nuget-packageslock2nix - a simple flake util to simplify dotnet development

Packaging and working on .NET projects in Nix has one pain point - generating deps.nix files containing the proper dependencies.

Not everybody on a team has to have Nix installed, which may cause a deps.nix file to become outdated.

Luckily, newer .NET versions have an option to generate lockfiles containing a package hash. This flake utility allows using these lockfiles to transparently download .NET dependencies, without generating any additional files.

2 Likes
Hosted by Flying Circus.