blob: 44fd08e7358f30d68f58354375ca917180735d7a [file] [log] [blame]
final: prev:
let
lib = prev.lib;
utils = import ../utils lib;
extraAttrSets = with final; [
libsForQt5
libsForQt5.qt5
];
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 { } extraAttrSets)
);
}))
builtins.listToAttrs
]