2023-03-08 19:04:17 +01:00
|
|
|
{ self, inputs, ... }:
|
|
|
|
{
|
|
|
|
perSystem = { pkgs, system, ... }: {
|
|
|
|
packages =
|
|
|
|
let
|
|
|
|
inherit (inputs.futils.lib) filterPackages flattenTree;
|
|
|
|
packages = import "${self}/pkgs" { inherit pkgs; };
|
|
|
|
flattenedPackages = flattenTree packages;
|
|
|
|
finalPackages = filterPackages system flattenedPackages;
|
|
|
|
in
|
|
|
|
finalPackages;
|
|
|
|
};
|
|
|
|
}
|