blob: 1acf97f42a3a2d8035dc1b63b4b26836b7dec4a7 [file] [log] [blame]
{ fenix, ...}: final: prev:
let
lib = prev.lib;
utils = import ../utils lib;
extraAttrSets = with final; [
libsForQt5
libsForQt5.qt5
qt6
];
in
lib.pipe ../packages [
utils.nixFilesInWithName
(map ({ name
, path
,
}: {
name = builtins.substring 0 ((builtins.stringLength name) - 4) name;
value = final.callPackage path (
builtins.intersectAttrs
(builtins.functionArgs (import path))
(lib.fold lib.mergeAttrs
{
packageSets = {
fenix = fenix.packages.${prev.system};
};
}
extraAttrSets)
);
}))
builtins.listToAttrs
]