mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 20:58:30 +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)
(cherry picked from commitf00a7e7e27
)
This commit is contained in:
parent
e011d7dc81
commit
06a70adfa9
@ -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