diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-22 12:49:20 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-22 12:49:20 +0100 |
commit | 9d90e7e281e8f4cf9371c17c812a1ac9c08aa66d (patch) | |
tree | 0b011ca0aeeef02dce03a3c825d9a037c5cfc01a /virtual/modules/websites/connexionswing/default.nix | |
parent | 0f3047a77ee1e0b3d943e39d50301ba85821c572 (diff) | |
download | Nix-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/connexionswing/default.nix')
-rw-r--r-- | virtual/modules/websites/connexionswing/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/virtual/modules/websites/connexionswing/default.nix b/virtual/modules/websites/connexionswing/default.nix index 5667c91..2e4dfc7 100644 --- a/virtual/modules/websites/connexionswing/default.nix +++ b/virtual/modules/websites/connexionswing/default.nix | |||
@@ -1,8 +1,12 @@ | |||
1 | { lib, pkgs, config, mylibs, ... }: | 1 | { lib, pkgs, config, mylibs, myconfig, ... }: |
2 | let | 2 | let |
3 | connexionswing = pkgs.callPackage ./connexionswing.nix { inherit (mylibs) checkEnv fetchedGitPrivate; }; | 3 | connexionswing = pkgs.callPackage ./connexionswing.nix { inherit (mylibs) fetchedGitPrivate; }; |
4 | connexionswing_dev = connexionswing { environment = "dev"; }; | 4 | connexionswing_dev = connexionswing { |
5 | connexionswing_prod = connexionswing { environment = "prod"; }; | 5 | config = myconfig.env.websites.connexionswing.integration; |
6 | }; | ||
7 | connexionswing_prod = connexionswing { | ||
8 | config = myconfig.env.websites.connexionswing.production; | ||
9 | }; | ||
6 | 10 | ||
7 | cfg = config.services.myWebsites.Connexionswing; | 11 | cfg = config.services.myWebsites.Connexionswing; |
8 | in { | 12 | in { |