diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/default.nix b/default.nix index b53aadcaf2e8..0fd79b93fd73 100644 --- a/default.nix +++ b/default.nix @@ -38,6 +38,12 @@ in fix(self: { # Elevate 'lib' from nixpkgs lib = import (self.third_party.nixpkgsSrc + "/lib"); + + # Expose readTree for downstream repo consumers. + readTree = { + __functor = x: (readTree' x.config); + config = self.config; + }; } # Add local packages as structured by readTree |