cryptpad: 3.13.0 -> 3.20.1 (#94255)

This commit is contained in:
xeji
2020-07-31 22:34:43 +00:00
committed by GitHub
parent b14be7257a
commit 38aa804d5b
6 changed files with 85 additions and 70 deletions
@@ -15,6 +15,7 @@ let
bowerPackages = buildBowerComponents {
name = "${cryptpad.name}-bower-packages";
# this list had to be tweaked by hand:
# * add the second jquery ~2.1.0 entry
# * add the second bootstrap ~3.1.1 entry
generated = ./bower-packages.nix;
src = cryptpad.src;
@@ -48,6 +49,8 @@ let
postInstall = ''
out_cryptpad=$out/lib/node_modules/cryptpad
substituteInPlace $out_cryptpad/lib/workers/index.js --replace "lib/workers/db-worker" "$out_cryptpad/lib/workers/db-worker"
# add the bower components
ln -sv \
${bowerPackages}/bower_components \