aboutsummaryrefslogtreecommitdiff
path: root/back
diff options
context:
space:
mode:
Diffstat (limited to 'back')
-rw-r--r--back/default.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/back/default.nix b/back/default.nix
index 525253e..f74936a 100644
--- a/back/default.nix
+++ b/back/default.nix
@@ -1,6 +1,7 @@
+workadventuresrc:
+
{ stdenv
, autoPatchelfHook
-, fetchFromGitHub
, fetchzip
, makeWrapper
, nodejs-14_x
@@ -36,13 +37,7 @@ yarn2nix-moretea.mkYarnPackage rec {
pname = "workadventureback";
version = "unstable";
- src = fetchFromGitHub
- {
- owner = "thecodingmachine";
- repo = "workadventure";
- rev = "6e9c71598004dc9cbab9418efb3c0ac892da7ca2";
- sha256 = "0rvra0dy631al4aylacyqldkyd6biawz2shsikgcy30nv5lzc78c";
- } + "/back";
+ src = "${workadventuresrc}/back";
# NOTE: this is optional and generated dynamically if omitted
yarnNix = ./yarn.nix;