dream2nix/examples/_d2n-extended-new-subsystem/discoverers.nix
2022-10-06 20:53:59 +03:00

15 lines
312 B
Nix

{config, ...}: {
discoverers.dummy = rec {
name = "dummy";
subsystem = "hello";
discover = {tree}: [
(config.dlib.construct.discoveredProject {
inherit subsystem name;
inherit (tree) relPath;
translators = ["dummy"];
subsystemInfo = {};
})
];
};
}