mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
outline: fix email notifications
Outline needs it's mail template at public/email relative to this
working directory.
e3db7455b3/server/emails/mailer.tsx (L87)
This commit is contained in:
parent
1a355ae751
commit
f00a7e7e27
@ -56,7 +56,12 @@ stdenv.mkDerivation rec {
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/outline
|
||||
mv public node_modules build $out/share/outline/
|
||||
mv node_modules build $out/share/outline/
|
||||
# On NixOS the WorkingDirectory is set to the build directory, as
|
||||
# this contains files needed in the onboarding process. This folder
|
||||
# must also contain the `public` folder for mail notifications to
|
||||
# work, as it contains the mail templates.
|
||||
mv public $out/share/outline/build
|
||||
|
||||
node_modules=$out/share/outline/node_modules
|
||||
build=$out/share/outline/build
|
||||
|
Loading…
Reference in New Issue
Block a user