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