clboss: 0.13A -> 0.13
This commit is contained in:
parent
8db4a1ece5
commit
b6df5cb130
4 changed files with 22 additions and 36 deletions
|
|
@ -12,11 +12,6 @@ let cfg = config.services.clightning.plugins.clboss; in
|
|||
See also: https://github.com/ZmnSCPxj/clboss#operating
|
||||
'';
|
||||
};
|
||||
acknowledgeDeprecation = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
internal = true;
|
||||
};
|
||||
min-onchain = mkOption {
|
||||
type = types.ints.positive;
|
||||
default = 30000;
|
||||
|
|
@ -54,22 +49,6 @@ let cfg = config.services.clightning.plugins.clboss; in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.acknowledgeDeprecation;
|
||||
message = ''
|
||||
`clboss` is no longer maintained and has been deprecated.
|
||||
|
||||
Warning: For compatibility with clighting 23.05, the nix-bitcoin `clboss` package
|
||||
includes a third-party fix that has not been thoroughly tested:
|
||||
https://github.com/ZmnSCPxj/clboss/pull/162
|
||||
|
||||
To ignore this warning and continue using `clboss`, add the following to your config:
|
||||
services.clightning.plugins.clboss.acknowledgeDeprecation = true;
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
services.clightning.extraConfig = ''
|
||||
plugin=${cfg.package}/bin/clboss
|
||||
clboss-min-onchain=${toString cfg.min-onchain}
|
||||
|
|
|
|||
|
|
@ -100,6 +100,13 @@ in {
|
|||
Lightning) module or the clightning-rest module in combination with the
|
||||
Zeus mobile wallet.
|
||||
'')
|
||||
]
|
||||
++
|
||||
# 0.0.98
|
||||
[
|
||||
(mkRemovedOptionModule [ "services" "clightning" "plugins" "clboss" "acknowledgeDeprecation" ] ''
|
||||
`clboss` is maintained again and has been un-deprecated.
|
||||
'')
|
||||
];
|
||||
config = {
|
||||
# Migrate old clightning-rest datadir from nix-bitcoin versions < 0.0.70
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue