feat: nodejs: installMethod=copy by default for top-level packages

This commit is contained in:
DavHau 2022-07-23 23:45:03 +02:00
parent 81739947c4
commit bb07fbd9e3

View File

@ -307,7 +307,15 @@
'';
};
installMethod = "symlink";
/*
For top-level packages install dependencies as full copies, as this
reduces errors with build tooling that doesn't cope well with
symlinking.
*/
installMethod =
if isMainPackage name version
then "copy"
else "symlink";
electronAppDir = ".";