initial commit
This commit is contained in:
commit
1a55a11500
8 changed files with 270 additions and 0 deletions
13
lib/shared-cache.nix
Normal file
13
lib/shared-cache.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue