Replace some uses of lib.mapAttrsToList

This commit is contained in:
SebastianStork 2025-10-06 21:43:18 +02:00
parent d5f3296bf0
commit be8712c85a
4 changed files with 12 additions and 8 deletions

View file

@ -16,7 +16,7 @@
{
channel.enable = false;
registry = flakeInputs |> lib.mapAttrs (_: flake: { inherit flake; });
nixPath = flakeInputs |> lib.mapAttrsToList (name: _: "${name}=flake:${name}");
nixPath = flakeInputs |> lib.attrNames |> lib.map (name: "${name}=flake:${name}");
settings = {
flake-registry = "";