Skip to content

Commit af87d59

Browse files
erikarvstedtjonasnick
authored andcommitted
obsolete-options: simplify removal of clightning plugin commando
1 parent 9b575e4 commit af87d59

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

modules/obsolete-options.nix

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,15 @@ in {
8282
"electrs"
8383
]) ++
8484
# 0.0.77
85-
(
86-
let
87-
optionName = [ "services" "clightning" "plugins" "commando" ];
88-
in [
89-
(mkRemovedOptionModule (optionName ++ [ "enable" ]) ''
90-
clightning 0.12.0 ships with a reimplementation of the commando plugin
91-
that is incompatible with the commando module that existed in
92-
nix-bitcoin. The new built-in commando plugin is always enabled. For
93-
information on how to use it, run `lightning-cli help commando` and
94-
`lightning-cli help commando-rune`.
95-
'')
96-
(mkRemovedOptionModule (optionName ++ [ "readers" ]) "")
97-
(mkRemovedOptionModule (optionName ++ [ "writers" ]) "")
98-
]) ++
85+
[
86+
(mkRemovedOptionModule [ "services" "clightning" "plugins" "commando" ] ''
87+
clightning 0.12.0 ships with a reimplementation of the commando plugin
88+
that is incompatible with the commando module that existed in
89+
nix-bitcoin. The new built-in commando plugin is always enabled. For
90+
information on how to use it, run `lightning-cli help commando` and
91+
`lightning-cli help commando-rune`.
92+
'')
93+
] ++
9994
# 0.0.92
10095
[
10196
(mkRemovedOptionModule [ "services" "spark-wallet" ] ''

0 commit comments

Comments
 (0)