Skip to content

Commit

Permalink
Refactor findPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 13, 2023
1 parent dd9aafc commit 7e6cfc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
lib.warnIf
(!hasPlugin) "Skipping \"${name}\" plugin"
hasPlugin);
findPackage = plugin: version: plugins.${plugin} {
findPackages = builtins.mapAttrs (plugin: version: plugins.${plugin} {
inherit system version;
};
});
in
builtins.mapAttrs findPackage
findPackages
(builtins.listToAttrs
(filterPlugins
(parseVersions
Expand Down

0 comments on commit 7e6cfc4

Please sign in to comment.