mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 18:24:12 +02:00
move from npmlock2nix to importNpmLock
This commit is contained in:
parent
de3a2f6009
commit
0c7e51f94b
3 changed files with 6 additions and 31 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
npmlock2nix,
|
||||
nodejs_20,
|
||||
importNpmLock,
|
||||
nodejs,
|
||||
lib,
|
||||
}: let
|
||||
inherit (lib.sources) sourceByRegex;
|
||||
in
|
||||
npmlock2nix.v2.node_modules {
|
||||
src = sourceByRegex ../. ["package.*"];
|
||||
nodejs = nodejs_20;
|
||||
importNpmLock.buildNodeModules {
|
||||
inherit nodejs;
|
||||
npmRoot = sourceByRegex ../. ["package.*"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue