From b0d082051d769a1de60999807be75d5067f06e40 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 26 Feb 2021 22:17:59 +0100 Subject: remove overlay (it refused to evaluate on another server for an unknown reason, and instead led to infinite recursion) --- wapkgs.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 wapkgs.nix (limited to 'wapkgs.nix') 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 {}; + }; + }) + -- cgit v1.2.3