From bfe3c9c9df0c5112bc8806483292b55ed0f7e02d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 25 Jan 2019 14:21:34 +0100 Subject: Add rompr Fixes https://git.immae.eu/mantisbt/view.php?id=70 --- virtual/modules/websites/tools/ether/etherpad_lite.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'virtual/modules/websites/tools/ether/etherpad_lite.nix') diff --git a/virtual/modules/websites/tools/ether/etherpad_lite.nix b/virtual/modules/websites/tools/ether/etherpad_lite.nix index f5f05b7..02071f1 100644 --- a/virtual/modules/websites/tools/ether/etherpad_lite.nix +++ b/virtual/modules/websites/tools/ether/etherpad_lite.nix @@ -1,6 +1,6 @@ { env, fetchedGithub, fetchurl, stdenv, writeText, pkgs, cacert }: let - listenPort = "18001"; + listenPort = env.listenPort; sessionkey = writeText "SESSIONKEY.txt" env.session_key; apikey = writeText "APIKEY.txt" env.api_key; jquery = fetchurl { @@ -41,7 +41,7 @@ let "favicon": "favicon.ico", "ip": "127.0.0.1", - "port" : ${listenPort}, + "port" : ${env.listenPort}, "showSettingsInAdminPage" : false, "dbType" : "postgres", "dbSettings" : { -- cgit v1.2.3