scroll auto discovery
This commit is contained in:
parent
60b5164a8a
commit
8769d9de00
9 changed files with 44 additions and 20 deletions
|
|
@ -2,23 +2,17 @@
|
|||
let
|
||||
denoScrollsDir = ./deno;
|
||||
|
||||
scrollDirs = lib.discoverScrolls {
|
||||
scrollsDir = denoScrollsDir;
|
||||
};
|
||||
|
||||
mkScroll = subDir: lib.readDenoScroll {
|
||||
inherit pkgs system subDir;
|
||||
scrollsDir = denoScrollsDir;
|
||||
};
|
||||
|
||||
scrollDirs = [
|
||||
"hjq"
|
||||
"uses-hjq"
|
||||
];
|
||||
|
||||
scrolls = builtins.map mkScroll scrollDirs;
|
||||
|
||||
# shelfSetup =
|
||||
# lib.collectDenoCaches {
|
||||
# inherit pkgs;
|
||||
# denoCacheDrvs = builtins.map (s: s.env) scrolls;
|
||||
# };
|
||||
sharedCache = lib.buildSharedDenoCache {
|
||||
inherit pkgs system;
|
||||
scrollsDir = denoScrollsDir;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue