From 7835d1341c6cb03bb6b76a693bdc9a6c9981af78 Mon Sep 17 00:00:00 2001 From: Mewp Date: Sun, 10 Jan 2021 15:51:31 +0100 Subject: Make the front package configurable. --- front/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'front') diff --git a/front/default.nix b/front/default.nix index 057855e..ea49c0f 100644 --- a/front/default.nix +++ b/front/default.nix @@ -3,7 +3,8 @@ , makeWrapper , workadventure-messages , yarn2nix-moretea -, ... }: +, lib +, ... } @ args: yarn2nix-moretea.mkYarnPackage rec { pname = "workadventurefront"; version = "unstable"; @@ -32,4 +33,8 @@ yarn2nix-moretea.mkYarnPackage rec { distPhase = ":"; installPhase = ":"; -} +} // lib.getAttrs [ + "DEBUG_MODE" "API_URL" "UPLOADER_URL" "ADMIN_URL" + "API_PROTOCOL" "UPLOADER_PROTOCOL" "ADMIN_PROTOCOL" + "TURN_SERVER" "TURN_USER" "TURN_PASSWORD" + "JITSI_URL" "JITSI_PRIVATE_MODE" ] args -- cgit v1.2.3