diff options
Diffstat (limited to 'workadventure-nix.nix')
-rw-r--r-- | workadventure-nix.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/workadventure-nix.nix b/workadventure-nix.nix deleted file mode 100644 index 6e13dd1..0000000 --- a/workadventure-nix.nix +++ /dev/null @@ -1,31 +0,0 @@ -# WorkAdventure packaging effort by SuperSandro2000, not yet upstreamed into nixpkgs. - -{ pkgs, lib, ... }: - - -let - src = pkgs.fetchgit { - url = "https://gitlab.infra4future.de/stuebinm/workadventure-nix"; - rev = "bfae9d9bfa90a0189d943ca865fa046f510b9922"; - sha256 = "160gc1yy6l5ynrx6679b6vwm1ivickymw75w3jfxk8idshsbjqw8"; - }; - - # Use a fixed-point operator to build a nixpkgs-like structure that contains all - # workadventure derivation. - wapkgs = lib.fix (self: let - callPackage = lib.callPackageWith (pkgs // self); - in { - workadventure-pusher = callPackage "${src}/pusher" {}; - workadventure-back = callPackage "${src}/back" {}; - workadventure-front = callPackage "${src}/front" {}; - workadventure-messages = callPackage "${src}/messages" {}; - workadventure-maps = callPackage "${src}/maps" {}; - }); - -# Build public attrset of all accessible components. -in rec { - pusher = wapkgs.workadventure-pusher; - back = wapkgs.workadventure-back; - front = wapkgs.workadventure-front; - maps = wapkgs.workadventure-maps; -} |