diff --git a/flake/wrappers.nix b/flake/wrappers.nix index 0ee4423..d85489c 100644 --- a/flake/wrappers.nix +++ b/flake/wrappers.nix @@ -8,8 +8,11 @@ ... }: { - _module.args.wrappers = lib.concatMapAttrs (name: _: { - ${lib.removeSuffix ".nix" name} = import "${self}/wrappers/${name}" { inherit inputs pkgs lib; }; - }) (builtins.readDir "${self}/wrappers"); + _module.args.wrappers = lib.mapAttrs' ( + name: _: + lib.nameValuePair (lib.removeSuffix ".nix" name) ( + import "${self}/wrappers/${name}" { inherit inputs pkgs lib; } + ) + ) (builtins.readDir "${self}/wrappers"); }; }