1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

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-24 22:15:55 +09:00
parent 2795c506fe
commit 9d64a0b452

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"