self: super: with super.lib; mapAttrs' (name: _: rec { value = super.callPackages ("./pkgs/${name}") { }; name = removeSuffix ".nix" name; }) (builtins.readDir ./pkgs)