dream2nix/examples/_d2n-extended-new-subsystem/discoverers.nix

15 lines
312 B
Nix
Raw Normal View History

{config, ...}: {
discoverers.dummy = rec {
name = "dummy";
subsystem = "hello";
2022-09-27 21:51:00 +03:00
discover = {tree}: [
(config.dlib.construct.discoveredProject {
inherit subsystem name;
2022-09-27 21:51:00 +03:00
inherit (tree) relPath;
translators = ["dummy"];
subsystemInfo = {};
})
];
};
}