Skyler Grey | 6b4e37a | 2022-10-30 23:00:04 +0000 | [diff] [blame] | 1 | final: prev: let |
2 | lib = prev.lib; | ||||
Skyler Grey | ee0c095 | 2022-09-01 23:33:36 +0100 | [diff] [blame] | 3 | utils = import ../utils lib; |
4 | in | ||||
5 | lib.pipe ../packages [ | ||||
6 | utils.nixFilesInWithName | ||||
7 | (map ({ | ||||
8 | name, | ||||
9 | path, | ||||
10 | }: { | ||||
11 | name = builtins.substring 0 ((builtins.stringLength name) - 4) name; | ||||
12 | value = final.callPackage path {}; | ||||
13 | })) | ||||
14 | builtins.listToAttrs | ||||
15 | ] |