14 lines
300 B
Nix
14 lines
300 B
Nix
{ self }:
|
|
{ pkgs, system, scrollsDir, subDirs }:
|
|
let
|
|
emptyDenoCache = pkgs.runCommand "empty-deno-cache" {} ''
|
|
mkdir -p $out
|
|
'';
|
|
|
|
in
|
|
builtins.foldl' (accCache: subDir:
|
|
self.buildDenoCache {
|
|
inherit pkgs system scrollsDir subDir;
|
|
baseCache = accCache;
|
|
}
|
|
) emptyDenoCache subDirs
|