update nixpkgs
bitcoin: 30.0 -> 30.2 bitcoind: 30.0 -> 30.2 bitcoind-knots: 29.2.knots20251110 -> 29.3.knots20260210 btcpayserver: 2.2.1 -> 2.3.4 clightning: 25.09.2 -> 25.12.1 elementsd: 23.2.4 -> 23.3.2 lnd: 0.19.3-beta -> 0.20.1-beta lnd 0.20 makes its chain notifier subsystem ready later in startup than its RPC server. lightning-loop and lightning-pool both subscribe to chain notifications right after dialing lnd, which fails before the notifier is up and crashes the daemon. Add a 5s ExecStartPre sleep to both services as a temporary workaround.
This commit is contained in:
@@ -59,13 +59,15 @@ rec {
|
||||
in {
|
||||
hwi = with python3PackagesWithUnlockedEcdsa; toPythonApplication hwi;
|
||||
|
||||
# trezor 0.13.10 supports click 8.2.x.
|
||||
# The version spec `click>=8,<8.3` has been copied from trezor 0.20.0-dev.
|
||||
trezor = python3PackagesWithUnlockedEcdsa.trezor.overridePythonAttrs (_: {
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-fail 'click>=7,<8.2' 'click>=8,<8.3'
|
||||
'';
|
||||
# nixpkgs has keyring 25.6.0, but trezor 0.20.0 requires >= 25.7.0.
|
||||
# 25.7.0 only adds KWallet 6 support and removes Python 3.8 cruft,
|
||||
# so 25.6.0 is functionally equivalent for trezor's use.
|
||||
# Relax the constraint until nixpkgs updates keyring.
|
||||
trezor = python3PackagesWithUnlockedEcdsa.trezor.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
|
||||
python3PackagesWithUnlockedEcdsa.pythonRelaxDepsHook
|
||||
];
|
||||
pythonRelaxDeps = [ "keyring" ];
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user