aboutsummaryrefslogtreecommitdiff
path: root/front/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'front/default.nix')
-rw-r--r--front/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/front/default.nix b/front/default.nix
index 440fa00..d7d9fa6 100644
--- a/front/default.nix
+++ b/front/default.nix
@@ -1,5 +1,6 @@
+workadventuresrc:
+
{ stdenv
-, fetchFromGitHub
, makeWrapper
, workadventure
, yarn2nix-moretea
@@ -18,12 +19,7 @@ yarn2nix-moretea.mkYarnPackage
# TODO: perhaps move this into its own file, to make it easily
# replacable across all workadventure packages.
- src = fetchFromGitHub {
- owner = "thecodingmachine";
- repo = "workadventure";
- rev = "6e9c71598004dc9cbab9418efb3c0ac892da7ca2";
- sha256 = "0rvra0dy631al4aylacyqldkyd6biawz2shsikgcy30nv5lzc78c";
- } + "/front";
+ src = "${workadventuresrc}/front";
# NOTE: this is optional and generated dynamically if omitted
yarnNix = ./yarn.nix;