Created
March 7, 2020 04:27
-
-
Save lovesegfault/c33bd967894c1be271d2d22bb08992d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib }: let | |
overlayFiles = lib.traceVal builtins.attrNames (builtins.readDir ./.); | |
overlayObjs = lib.traceVal builtins.map (f: import ( ./. + "/${f}" ) ) overlayFiles; | |
overlays = lib.traceVal builtins.filter (elem: builtins.isFunction elem) overlayObjs; | |
in overlays |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment