]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Remove mastodon build dependency on environment variables
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 3 May 2019 16:09:14 +0000 (18:09 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 3 May 2019 16:09:14 +0000 (18:09 +0200)
nixops/modules/websites/tools/mastodon/mastodon.nix

index 516cc5879ac04fba8ab901417ea120847315c54c..67d4d48b01230351ce5b21f599b4f5c0789b44dc 100644 (file)
@@ -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