Import all nix files in a directory tree. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic inputs
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

update to dendrix (#10)

authored by oeiuwq.com and committed by

GitHub 1d9268a9 a062c831

+5 -9
+5 -9
README.md
··· 327 327 provide custom import-tree instances with an API suited for their 328 328 particular idioms. 329 329 330 - @vic is using this on [Dennix](https://github.com/vic/dennix) for [community conventions](https://github.com/vic/dennix/blob/main/dev/modules/community/_pipeline.nix) 331 - on tagging files. 330 + @vic is using this on [Dendrix](https://github.com/vic/dendrix) for [community conventions](https://github.com/vic/dendrix/blob/main/dev/modules/community/_pipeline.nix) on tagging files. 332 331 333 332 </summary> 334 333 ··· 350 349 (i: i.addAPI { vim-btw = self: self.exclusive "vim" "emacs"; }) 351 350 ]; 352 351 353 - flagRe = flag: ".*/.*?\+${flag}.*/.*"; # matches +foo on dir path 354 - 355 - on = self: flagName: self.match (flagRe flagName); 356 - off = self: flagName: self.matchNot (flagRe flagName); 357 - 352 + on = self: flag: self.filter (lib.hasInfix "+${flag}"); 353 + off = self: flag: self.filterNot (lib.hasInfix "+${flag}"); 358 354 exclusive = self: onFlag: offFlag: lib.pipe self [ 359 - (self: self.on onFlag) 360 - (self: self.off offFlag) 355 + (self: on self onFlag) 356 + (self: off self offFlag) 361 357 ]; 362 358 in 363 359 {