-
-
Save tilpner/c7169e638e3949b344467c4d33afe362 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
self: super: | |
with builtins; | |
let | |
list = readDir ../pkgs; | |
in listToAttrs (map | |
(name: { | |
name = replaceStrings [".nix"] [""] name; | |
value = self.lib.callPackageWith | |
(self // self.xlibs // { | |
overlaySelf = self; | |
overlaySuper = super; | |
}) (../pkgs + ("/" + name)) { }; | |
}) (attrNames list)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment