aboutsummaryrefslogtreecommitdiff
path: root/wapkgs.nix
diff options
context:
space:
mode:
authorstuebinm2021-02-26 22:17:59 +0100
committerstuebinm2021-02-26 22:17:59 +0100
commitb0d082051d769a1de60999807be75d5067f06e40 (patch)
tree6bfdee6184a579bd27bd573beba9d09f68994581 /wapkgs.nix
parent7352984a5c3bc35f20184ddff97daea93f6b3738 (diff)
remove overlay
(it refused to evaluate on another server for an unknown reason, and instead led to infinite recursion)
Diffstat (limited to '')
-rw-r--r--wapkgs.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/wapkgs.nix b/wapkgs.nix
new file mode 100644
index 0000000..5e84fb3
--- /dev/null
+++ b/wapkgs.nix
@@ -0,0 +1,23 @@
+{pkgs, lib, ...}:
+
+let
+ workadventuresrc = pkgs.fetchFromGitHub {
+ owner = "thecodingmachine";
+ repo = "workadventure";
+ rev = "6e9c71598004dc9cbab9418efb3c0ac892da7ca2";
+ sha256 = "0rvra0dy631al4aylacyqldkyd6biawz2shsikgcy30nv5lzc78c";
+ };
+in
+ lib.fix (self: let
+ callWaPackage = path: lib.callPackageWith self (import path workadventuresrc);
+ in pkgs // {
+ workadventure = {
+ back = callWaPackage ./back {};
+ pusher = callWaPackage ./pusher {};
+ messages = callWaPackage ./messages {};
+ front = callWaPackage ./front {};
+ uploader = callWaPackage ./uploader {};
+ maps = callWaPackage ./maps {};
+ };
+ })
+