From 508943b4171796a3b9670c1ee9fe6881734e9990 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 3 May 2019 18:09:14 +0200 Subject: [PATCH] Remove mastodon build dependency on environment variables --- nixops/modules/websites/tools/mastodon/mastodon.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixops/modules/websites/tools/mastodon/mastodon.nix b/nixops/modules/websites/tools/mastodon/mastodon.nix index 516cc58..67d4d48 100644 --- a/nixops/modules/websites/tools/mastodon/mastodon.nix +++ b/nixops/modules/websites/tools/mastodon/mastodon.nix @@ -109,14 +109,14 @@ let ''; }; - # FIXME: build machine will contain some passwords in the nix store railsRoot = stdenv.mkDerivation { name = "mastodon_immae"; inherit mastodon; builder = writeText "build_mastodon_immae" '' source $stdenv/setup set -a - ${keys.mastodon.text} + SECRET_KEY_BASE=Dummy + OTP_SECRET=Dummy set +a cp -a $mastodon $out cd $out -- 2.41.0