From 447606efaf6aeb0525fed0e2d16bf3f9a8897f7a Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Sun, 11 Apr 2021 12:39:41 +0000 Subject: [PATCH] tests: add clboss --- test/tests.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/tests.nix b/test/tests.nix index fa1386a..6a2fcd9 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -47,7 +47,10 @@ let test.data.clightning-plugins = let plugins = config.services.clightning.plugins; enabled = builtins.filter (plugin: plugins.${plugin}.enable) (builtins.attrNames plugins); - pluginPkgs = config.nix-bitcoin.pkgs.clightning-plugins; + nbPkgs = config.nix-bitcoin.pkgs; + pluginPkgs = nbPkgs.clightning-plugins // { + clboss.path = "${nbPkgs.clboss}/bin/clboss"; + }; in map (plugin: pluginPkgs.${plugin}.path) enabled; tests.spark-wallet = cfg.spark-wallet.enable; @@ -95,7 +98,7 @@ let } (mkIf config.test.features.clightningPlugins { services.clightning.plugins = { - # TODO: add clboss when https://github.com/ZmnSCPxj/clboss/issues/49 is closed + clboss.enable = true; helpme.enable = true; monitor.enable = true; prometheus.enable = true;