tests: add clboss
This commit is contained in:
parent
4875314b6f
commit
447606efaf
@ -47,7 +47,10 @@ let
|
|||||||
test.data.clightning-plugins = let
|
test.data.clightning-plugins = let
|
||||||
plugins = config.services.clightning.plugins;
|
plugins = config.services.clightning.plugins;
|
||||||
enabled = builtins.filter (plugin: plugins.${plugin}.enable) (builtins.attrNames 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;
|
in map (plugin: pluginPkgs.${plugin}.path) enabled;
|
||||||
|
|
||||||
tests.spark-wallet = cfg.spark-wallet.enable;
|
tests.spark-wallet = cfg.spark-wallet.enable;
|
||||||
@ -95,7 +98,7 @@ let
|
|||||||
}
|
}
|
||||||
(mkIf config.test.features.clightningPlugins {
|
(mkIf config.test.features.clightningPlugins {
|
||||||
services.clightning.plugins = {
|
services.clightning.plugins = {
|
||||||
# TODO: add clboss when https://github.com/ZmnSCPxj/clboss/issues/49 is closed
|
clboss.enable = true;
|
||||||
helpme.enable = true;
|
helpme.enable = true;
|
||||||
monitor.enable = true;
|
monitor.enable = true;
|
||||||
prometheus.enable = true;
|
prometheus.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user