From: Ismaƫl Bouya Date: Fri, 3 May 2019 16:09:14 +0000 (+0200) Subject: Remove mastodon build dependency on environment variables X-Git-Tag: nur_publish~84 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=508943b4171796a3b9670c1ee9fe6881734e9990;p=perso%2FImmae%2FConfig%2FNix.git Remove mastodon build dependency on environment variables --- 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