mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 05:39:05 +08:00
local.pkgs.misskey: use symlink for pnpm store
This commit is contained in:
parent
1118e86d62
commit
fde802ebfc
@ -17,7 +17,7 @@ let
|
||||
{
|
||||
inherit pname version src;
|
||||
nodejs = nodejs_20;
|
||||
copyPnpmStore = true;
|
||||
copyPnpmStore = false;
|
||||
};
|
||||
startScript = writeShellScript "misskey"
|
||||
''
|
||||
@ -97,7 +97,7 @@ in
|
||||
mkdir -p $(dirname $store)
|
||||
|
||||
cp -f ${originalPnpmPackage.passthru.patchedLockfileYaml} pnpm-lock.yaml
|
||||
cp -RL ${originalPnpmPackage.passthru.pnpmStore} $store
|
||||
ln -s ${originalPnpmPackage.passthru.pnpmStore} $store
|
||||
chmod -R +w $store
|
||||
pnpm install --frozen-lockfile --offline
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user