mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
11 lines
278 B
Nix
11 lines
278 B
Nix
{
|
|
sources ? import ../sources.nix,
|
|
pkgs ? import sources.nixpkgs {},
|
|
}: let
|
|
inherit (pkgs) lib;
|
|
in
|
|
lib.mapAttrs
|
|
(name: _: pkgs.callPackage (./by-name + "/${name}/package.nix") {})
|
|
(
|
|
lib.filterAttrs (_: type: type == "directory") (builtins.readDir ./by-name)
|
|
)
|