account for peer dependency virtual versions in lockfile key parsing
This commit is contained in:
parent
1a55a11500
commit
8acb849943
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ let
|
||||||
# Create derivation for a single npm package
|
# Create derivation for a single npm package
|
||||||
mkNpmDep = key: value:
|
mkNpmDep = key: value:
|
||||||
let
|
let
|
||||||
match = builtins.match "(.+)@(.+)" key;
|
match = builtins.match "(@?[^@]+)@([^_]+).*" key;
|
||||||
name = builtins.elemAt match 0;
|
name = builtins.elemAt match 0;
|
||||||
version = builtins.elemAt match 1;
|
version = builtins.elemAt match 1;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue