mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 01:53:09 +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:
parent
2795c506fe
commit
9d64a0b452
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ buildNpmPackage {
|
||||||
# Move to install directory manually.
|
# Move to install directory manually.
|
||||||
npm run install:components
|
npm run install:components
|
||||||
mv www/components "$out_cryptpad/www/"
|
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)
|
# install OnlyOffice (install-onlyoffice.sh without network)
|
||||||
mkdir -p "$out_cryptpad/www/common/onlyoffice/dist"
|
mkdir -p "$out_cryptpad/www/common/onlyoffice/dist"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue