aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/tools/mastodon/mastodon.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-21 22:08:57 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-21 22:08:57 +0100
commit3c8d7f8706433ce0f995f3bf37fdfd348fb9e173 (patch)
tree7001eb43d827c3fcb323b18999f9527fdbc177dc /nixops/modules/websites/tools/mastodon/mastodon.nix
parent7636abc6bfcdca34d4b90a144365235012275339 (diff)
downloadNix-3c8d7f8706433ce0f995f3bf37fdfd348fb9e173.tar.gz
Nix-3c8d7f8706433ce0f995f3bf37fdfd348fb9e173.tar.zst
Nix-3c8d7f8706433ce0f995f3bf37fdfd348fb9e173.zip
Remove useless relative symlinks
Diffstat (limited to 'nixops/modules/websites/tools/mastodon/mastodon.nix')
-rw-r--r--nixops/modules/websites/tools/mastodon/mastodon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/modules/websites/tools/mastodon/mastodon.nix b/nixops/modules/websites/tools/mastodon/mastodon.nix
index 5f0104c..ef7ef57 100644
--- a/nixops/modules/websites/tools/mastodon/mastodon.nix
+++ b/nixops/modules/websites/tools/mastodon/mastodon.nix
@@ -119,7 +119,7 @@ let
119 sed -i -e 's@^end$@ config.action_mailer.sendmail_settings = { location: ENV.fetch("SENDMAIL_LOCATION", "/usr/sbin/sendmail") }\nend@' config/environments/production.rb 119 sed -i -e 's@^end$@ config.action_mailer.sendmail_settings = { location: ENV.fetch("SENDMAIL_LOCATION", "/usr/sbin/sendmail") }\nend@' config/environments/production.rb
120 RAILS_ENV=production ${gems}/bin/rails assets:precompile 120 RAILS_ENV=production ${gems}/bin/rails assets:precompile
121 rm -rf tmp/cache 121 rm -rf tmp/cache
122 ln -sf ../../../../../../../${varDir}/tmp/cache tmp 122 ln -sf ${varDir}/tmp/cache tmp
123 ''; 123 '';
124 buildInputs = [ gems gems.ruby pkgs.nodejs pkgs.yarn ]; 124 buildInputs = [ gems gems.ruby pkgs.nodejs pkgs.yarn ];
125 }; 125 };