5 lines
174 B
Nix
5 lines
174 B
Nix
{ pkgs, lib ? pkgs.lib }: with lib;
|
|
mapAttrs' (name: _: {
|
|
value = pkgs.callPackages ("./pkgs/${name}") { };
|
|
name = removeSuffix ".nix" name;
|
|
}) (builtins.readDir ./pkgs)
|