aboutsummaryrefslogtreecommitdiff
path: root/maps
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--maps/default.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/maps/default.nix b/maps/default.nix
index 5142f1e..6310942 100644
--- a/maps/default.nix
+++ b/maps/default.nix
@@ -1,3 +1,5 @@
+workadventuresrc:
+
{ stdenv
, fetchFromGitHub
, makeWrapper
@@ -8,13 +10,7 @@ yarn2nix-moretea.mkYarnPackage rec {
pname = "workadventuremaps";
version = "unstable";
- src = fetchFromGitHub
- {
- owner = "thecodingmachine";
- repo = "workadventure";
- rev = "6e9c71598004dc9cbab9418efb3c0ac892da7ca2";
- sha256 = "0rvra0dy631al4aylacyqldkyd6biawz2shsikgcy30nv5lzc78c";
- } + "/maps";
+ src = "${workadventuresrc}/maps";
# NOTE: this is optional and generated dynamically if omitted
yarnNix = ./yarn.nix;