{ pkgs, system, lib }: let denoScrollsDir = ./deno; scrollDirs = lib.discoverScrolls { scrollsDir = denoScrollsDir; }; mkScroll = subDir: lib.readDenoScroll { inherit pkgs system subDir; scrollsDir = denoScrollsDir; }; scrolls = builtins.map mkScroll scrollDirs; sharedCache = lib.buildSharedDenoCache { inherit pkgs system; scrollsDir = denoScrollsDir; subDirs = scrollDirs; }; in { setupScript = lib.makeDenoShelfSetup { inherit pkgs sharedCache; }; scrolls = builtins.map (s: s.meta) scrolls; }