cryptpad: fix broken symlink that renders cryptpad unusable

This fixes a broken symlink after install; there probably is a better
way to do it but that'll work and ideally new test will catch this
breaking again.

Fixes: #404114
This commit is contained in:
Dominique Martinet
2025-05-28 12:19:23 +09:00
parent 2795c506fe
commit 9d64a0b452
+2
View File
@@ -120,6 +120,8 @@ buildNpmPackage {
# Move to install directory manually.
npm run install:components
mv www/components "$out_cryptpad/www/"
# and fix absolute symlink to /build...
ln -Tfs ../../src/tweetnacl "$out_cryptpad/www/components/tweetnacl"
# install OnlyOffice (install-onlyoffice.sh without network)
mkdir -p "$out_cryptpad/www/common/onlyoffice/dist"