fix: add stubs for nixpkgs-unstable 2026-08 where services.clightning removed
nixpkgs 8b8c811 (2026-08-08) removed services.clightning.enable, causing btcpayserver.nix:124 to throw 'option does not exist' on nixos-rebuild (your error). Sovran uses lnd only, never clightning, but evaluation still throws. - Add modules/vendor/nix-bitcoin/stubs.nix to provide missing options as false stubs: clightning, clightning-rest, liquidd, fulcrum, lightning-loop/pool, joinmarket - Guard btcpayserver/rtl/lnd/mempool clightning/liquidd references with config.services ? X checks - Trim enable-tor.nix onionServices for removed services
This commit is contained in:
Vendored
+2
-2
@@ -194,8 +194,8 @@ in {
|
||||
assertions = [
|
||||
{ assertion =
|
||||
!(config.services ? clightning)
|
||||
|| !config.services.clightning.enable
|
||||
|| config.services.clightning.port != cfg.port;
|
||||
|| !(config.services.clightning.enable or false)
|
||||
|| (config.services.clightning.port or 9735) != cfg.port;
|
||||
message = ''
|
||||
LND and clightning can't both bind to lightning port 9735. Either
|
||||
disable LND/clightning or change services.clightning.port or
|
||||
|
||||
Reference in New Issue
Block a user