Remove references to lockfileFilename

This field will be removed from yarn in version 4: https://github.com/yarnpkg/berry/pull/5604

With this change, the plugin works with the current canary release, v4.0.0-rc.53.
This commit is contained in:
Nick Novitski
2023-10-10 08:19:45 -07:00
parent 6e0708256d
commit 52227131b8
+1 -1
View File
@@ -93,7 +93,7 @@ export default async (
"./" + "./" +
ppath.relative( ppath.relative(
ppath.dirname(nixExprPath), ppath.dirname(nixExprPath),
ppath.resolve(cwd, configuration.get(`lockfileFilename`)) ppath.resolve(cwd, 'yarn.lock' as PortablePath)
); );
// Build a list of cache entries so Nix can fetch them. // Build a list of cache entries so Nix can fetch them.