mirror of
https://github.com/nix-community/dream2nix.git
synced 2025-01-07 15:20:07 +03:00
feat: nodejs: installMethod=copy by default for top-level packages
This commit is contained in:
parent
81739947c4
commit
bb07fbd9e3
@ -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 = ".";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user