From 3c8d7f8706433ce0f995f3bf37fdfd348fb9e173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 21 Feb 2019 22:08:57 +0100 Subject: Remove useless relative symlinks --- nixops/modules/websites/tools/mastodon/mastodon.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixops/modules/websites/tools/mastodon/mastodon.nix') 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 sed -i -e 's@^end$@ config.action_mailer.sendmail_settings = { location: ENV.fetch("SENDMAIL_LOCATION", "/usr/sbin/sendmail") }\nend@' config/environments/production.rb RAILS_ENV=production ${gems}/bin/rails assets:precompile rm -rf tmp/cache - ln -sf ../../../../../../../${varDir}/tmp/cache tmp + ln -sf ${varDir}/tmp/cache tmp ''; buildInputs = [ gems gems.ruby pkgs.nodejs pkgs.yarn ]; }; -- cgit v1.2.3