aboutsummaryrefslogtreecommitdiff
path: root/messages/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--messages/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/messages/default.nix b/messages/default.nix
index 6deb9f7..2e61f46 100644
--- a/messages/default.nix
+++ b/messages/default.nix
@@ -1,3 +1,5 @@
+workadventuresrc:
+
{ stdenv
, autoPatchelfHook
, fetchFromGitHub
@@ -35,12 +37,7 @@ yarn2nix-moretea.mkYarnPackage rec {
pname = "workadventuremessages";
version = "unstable";
- src = fetchFromGitHub {
- owner = "thecodingmachine";
- repo = "workadventure";
- rev = "6e9c71598004dc9cbab9418efb3c0ac892da7ca2";
- sha256 = "0rvra0dy631al4aylacyqldkyd6biawz2shsikgcy30nv5lzc78c";
- } + "/messages";
+ src = "${workadventuresrc}/messages";
# NOTE: this is optional and generated dynamically if omitted
yarnNix = ./yarn.nix;