aboutsummaryrefslogtreecommitdiff
path: root/front/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'front/default.nix')
-rw-r--r--front/default.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/front/default.nix b/front/default.nix
index ecb5afb..d3276e7 100644
--- a/front/default.nix
+++ b/front/default.nix
@@ -1,5 +1,5 @@
{ stdenv
-, fetchFromGitHub
+, fetchFromGitLab
, makeWrapper
, workadventure-messages
, yarn2nix-moretea
@@ -8,15 +8,21 @@
, ... }:
let
- envVar = (name: lib.optionalAttrs (environment ? name) { name = environment.${name}; });
+ envVar = (name: lib.optionalAttrs (environment ? ${name}) { ${name} = environment.${name}; });
envVars = envVar "DEBUG_MODE"
// envVar "API_URL"
// envVar "UPLOADER_URL"
// envVar "ADMIN_URL"
+ // envVar "MAPS_URL"
+ // envVar "API_HOST"
+ // envVar "UPLOADER_HOST"
+ // envVar "ADMIN_HOST"
+ // envVar "MAPS_HOST"
// envVar "API_PROTOCOL"
// envVar "UPLOADER_PROTOCOL"
// envVar "ADMIN_PROTOCOL"
+ // envVar "MAPS_PROTOCOL"
// envVar "TURN_SERVER"
// envVar "TURN_USER"
// envVar "TURN_PASSWORD"
@@ -26,12 +32,12 @@ in yarn2nix-moretea.mkYarnPackage (rec {
pname = "workadventurefront";
version = "unstable";
- src = fetchFromGitHub
+ src = fetchFromGitLab
{
- owner = "thecodingmachine";
+ owner = "fediventure";
repo = "workadventure";
- rev = "284846e8a59ec0d921189ac3a46e0eb5d1e14818";
- sha256 = "1f1vi226kas7x9y8zw810q5vg1ikn4bb6ha9vnzvqk9y7jlc1n8q";
+ rev = "e77551c629b0412c808843f91d072a4ce7558d7f";
+ sha256 = "1ikasdk2qhsrnh8x9sxvyjhzdiwmzimgs523cqysasz312yv4dfk";
} + "/front";
# NOTE: this is optional and generated dynamically if omitted