initial commit

This commit is contained in:
EatThePooh 2025-08-05 20:59:34 +07:00
commit 1a55a11500
8 changed files with 270 additions and 0 deletions

13
lib/shared-cache.nix Normal file
View file

@ -0,0 +1,13 @@
{ self }:
{ pkgs, lockfiles }:
let
allNpmDeps = builtins.concatMap
(lockfile:
self.denoLockfileToNpmDeps { inherit pkgs lockfile; })
lockfiles;
in
pkgs.symlinkJoin {
name = "deno-shared-cache";
paths = allNpmDeps;
}