diff options
Diffstat (limited to '')
-rw-r--r-- | instance-options.nix | 4 | ||||
-rw-r--r-- | workadventure-nix.nix | 8 | ||||
-rw-r--r-- | workadventure.nix | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/instance-options.nix b/instance-options.nix index c685693..58cc99e 100644 --- a/instance-options.nix +++ b/instance-options.nix @@ -1,9 +1,9 @@ # Configuration options specific to a single workadventure instance. -{ lib, config, ... }: +{ lib, pkgs, config, ... }: with lib; -let workadventure = import ./workadventure-nix.nix { inherit lib; }; +let workadventure = import ./workadventure-nix.nix { inherit lib pkgs; }; in { options = rec { diff --git a/workadventure-nix.nix b/workadventure-nix.nix index ffd028f..6e13dd1 100644 --- a/workadventure-nix.nix +++ b/workadventure-nix.nix @@ -1,15 +1,13 @@ # WorkAdventure packaging effort by SuperSandro2000, not yet upstreamed into nixpkgs. -{ lib, ... }: +{ pkgs, lib, ... }: let - pkgs = import <nixpkgs> {}; - src = pkgs.fetchgit { url = "https://gitlab.infra4future.de/stuebinm/workadventure-nix"; - rev = "c46949747779b5e679774ceb23a530ed4736c52b"; - sha256 = "1z6qd7bjrc7map2nj3yzwqyvr16vk29fy08pdc9vvd4yid2lywv7"; + rev = "bfae9d9bfa90a0189d943ca865fa046f510b9922"; + sha256 = "160gc1yy6l5ynrx6679b6vwm1ivickymw75w3jfxk8idshsbjqw8"; }; # Use a fixed-point operator to build a nixpkgs-like structure that contains all diff --git a/workadventure.nix b/workadventure.nix index 1050023..189921c 100644 --- a/workadventure.nix +++ b/workadventure.nix @@ -107,7 +107,7 @@ in { services.workadventure = rec { instances = mkOption { type = types.attrsOf (types.submodule (import ./instance-options.nix { - inherit config lib; + inherit config lib pkgs; })); default = {}; description = "Declarative WorkAdventure instance config"; |