aboutsummaryrefslogtreecommitdiff
path: root/virtual/modules/websites/tools/mastodon/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-22 12:49:20 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-22 12:49:20 +0100
commit9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d (patch)
tree0b011ca0aeeef02dce03a3c825d9a037c5cfc01a /virtual/modules/websites/tools/mastodon/default.nix
parent0f3047a77ee1e0b3d943e39d50301ba85821c572 (diff)
downloadNix-9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d.tar.gz
Nix-9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d.tar.zst
Nix-9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d.zip
Remove use of environment variables
Fixes https://git.immae.eu/mantisbt/view.php?id=113
Diffstat (limited to 'virtual/modules/websites/tools/mastodon/default.nix')
-rw-r--r--virtual/modules/websites/tools/mastodon/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/virtual/modules/websites/tools/mastodon/default.nix b/virtual/modules/websites/tools/mastodon/default.nix
index 25a389b..98ab9be 100644
--- a/virtual/modules/websites/tools/mastodon/default.nix
+++ b/virtual/modules/websites/tools/mastodon/default.nix
@@ -1,7 +1,8 @@
1{ lib, pkgs, config, mylibs, ... }: 1{ lib, pkgs, config, myconfig, mylibs, ... }:
2let 2let
3 mastodon = pkgs.callPackage ./mastodon.nix { 3 mastodon = pkgs.callPackage ./mastodon.nix {
4 inherit (mylibs) fetchedGithub checkEnv; 4 inherit (mylibs) fetchedGithub;
5 env = myconfig.env.tools.mastodon;
5 }; 6 };
6 7
7 cfg = config.services.myWebsites.tools.mastodon; 8 cfg = config.services.myWebsites.tools.mastodon;