yarn2nix: support new yarn workspace json
This commit is contained in:
parent
3c745c05fb
commit
e3a60c19f8
@ -174,7 +174,7 @@ in rec {
|
||||
let
|
||||
package = lib.importJSON packageJSON;
|
||||
|
||||
packageGlobs = package.workspaces;
|
||||
packageGlobs = if lib.isList package.workspaces then package.workspaces else package.workspaces.packages;
|
||||
|
||||
globElemToRegex = lib.replaceStrings ["*"] [".*"];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user