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
|
||||
mkNpmDep = key: value:
|
||||
let
|
||||
match = builtins.match "(.+)@(.+)" key;
|
||||
match = builtins.match "(@?[^@]+)@([^_]+).*" key;
|
||||
name = builtins.elemAt match 0;
|
||||
version = builtins.elemAt match 1;
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue