aboutsummaryrefslogtreecommitdiff
path: root/front
diff options
context:
space:
mode:
authorMewp2021-01-10 15:51:31 +0100
committerMewp2021-01-10 15:51:31 +0100
commit7835d1341c6cb03bb6b76a693bdc9a6c9981af78 (patch)
tree2ed2f7a007c2c1fbe29053282b42ca533a489adc /front
parent8321fdf6e8235198613434713d80b7028960902d (diff)
Make the front package configurable.
Diffstat (limited to '')
-rw-r--r--front/default.nix9
1 files changed, 7 insertions, 2 deletions
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