28 lines
376 B
Nix
28 lines
376 B
Nix
{
|
|
self,
|
|
flakeSelf,
|
|
system,
|
|
private,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (self.lib) foldersWithNix;
|
|
inherit (pkgs.lib)
|
|
path
|
|
genAttrs
|
|
;
|
|
in
|
|
{
|
|
${system} = genAttrs (foldersWithNix ./.) (
|
|
name:
|
|
pkgs.callPackage (path.append ./. "./${name}/default.nix") {
|
|
inherit
|
|
self
|
|
flakeSelf
|
|
system
|
|
private
|
|
;
|
|
}
|
|
);
|
|
}
|