Erik Arvstedt
1c786d67c6
update nixpkgs
...
bitcoin: 29.1 -> 30.0
bitcoind: 29.1 -> 30.0
bitcoind-knots: 29.1.knots20250903 -> 29.2.knots20251010
clboss: 0.14.1 -> 0.15.1
2025-10-23 08:15:34 +02:00
Erik Arvstedt
3a13b5f77c
ci/test-info.nix: read scenarios from github workflow file
...
Simplifies maintenance, both files no longer need to be kept in sync.
2025-10-21 07:10:47 +02:00
Jonas Nick
14d0b33d20
update nixpkgs
...
bitcoind-knots: 28.1.knots20250305 -> 29.1.knots20250903
charge-lnd: 0.3.0 -> 0.3.1
clightning: 25.05 -> 25.09
2025-10-07 09:19:22 +00:00
Erik Arvstedt
81ac8735bd
update nixpkgs
...
bitcoind: 29.0 -> 29.1
btcpayserver: 2.1.6 -> 2.2.1
2025-09-12 09:11:04 +02:00
Erik Arvstedt
0c02330001
update nixpkgs
...
lnd: 0.19.2-beta -> 0.19.3-beta
2025-09-05 20:44:09 +02:00
Erik Arvstedt
6bc5747951
run-tests: fix tmpDir being deleted before it's used
...
In `buildTests`, `nixInstantiate` is called in a subshell.
When `tmpDir` is unset before the call, the tmpdir is created in the
subshell and gets deleted before subshell exit (via `trap`).
But subsequent code accesses the tmpdir, which has now been deleted,
leading to an error.
This bug has been undetected for a long time because bash 5.2 has a
bug [1] where `trap` is not always executed, causing the tmpdir to never be deleted.
Bash 5.3 (introduced in NixOS 25.05) now works correctly and exposes the bug.
Fix it by creating the tmpdir before the subshell call.
[1] https://mail.gnu.org/archive/html/help-bash/2024-07/msg00007.html
2025-08-18 13:28:00 +02:00
Jonas Nick
5deb0b4342
Merge fort-nix/nix-bitcoin#801 : Update nixpkgs
...
da2a683393 update nixpkgs (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK da2a683393
Tree-SHA512: c2923fd8f0d17c865198733e60c74659628accbf10b6afd259e188b33f167abfba54964165579269fafb3fe46643479f02dde7f7f2a4f9232a697d34960329df
2025-08-16 07:28:38 +00:00
Erik Arvstedt
9f8dc58f85
ci: group job output, print eval results
...
Useful for debugging.
2025-08-11 22:15:48 +02:00
Erik Arvstedt
da2a683393
update nixpkgs
...
electrs: 0.10.9 -> 0.10.10
2025-08-10 19:06:23 +02:00
Erik Arvstedt
17f057cb08
update nixpkgs
...
btcpayserver: 2.1.5 -> 2.1.6
lnd: 0.19.1-beta -> 0.19.2-beta
2025-07-20 22:50:22 +02:00
Jonas Nick
e2ca2e4967
Merge fort-nix/nix-bitcoin#795 : CI: Switch from Cirrus to Github Actions
...
5516bcc43b ci: switch from Cirrus to Github Actions (Erik Arvstedt)
7d33e9d5e9 tests: extract fn `instantiateTestsFromStr` (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 5516bcc43b
Tree-SHA512: 1aa23ffc52c8e9b7efd38fbf31be9bab7a7e187571c6bee8c1dbdb8eb14f90995b260d10f0d3d9968d6e9be1be452d22173d9775fd6d42a94a01f41ab3305d21
2025-07-03 08:16:40 +00:00
Erik Arvstedt
042f4af4fa
update nixpkgs
...
btcpayserver: 2.1.1 -> 2.1.5
clightning: 25.02.2 -> 25.05
lightning-loop: 0.31.1-beta -> 0.31.2-beta
lnd: 0.19.0-beta -> 0.19.1-beta
2025-06-29 15:10:42 +02:00
Erik Arvstedt
5516bcc43b
ci: switch from Cirrus to Github Actions
2025-06-26 23:26:57 +02:00
Erik Arvstedt
7d33e9d5e9
tests: extract fn instantiateTestsFromStr
...
Fn `instantiateTests` now takes an array of strings.
It is used in the following commit.
2025-06-26 23:23:51 +02:00
Erik Arvstedt
fd84c576f4
update nixpkgs
...
lightning-loop: 0.28.8-beta -> 0.31.1-beta
lnd: 0.18.5-beta -> 0.19.0-beta
2025-06-11 15:30:27 +02:00
Erik Arvstedt
fb56684999
ci: enable parallel building
...
Use `nix build --print-build-logs` to prefix the build output with the
name of its derivation.
This helps to distinguish build outputs when output is interleaved in
parallel builds.
2025-06-10 13:45:57 +02:00
Erik Arvstedt
a52bf46031
treewide: streamline bash error reporting
...
- Show the script file name
- Use common line number format that allows opening
file at line in editors
2025-06-10 13:45:57 +02:00
Erik Arvstedt
81112a0553
mempool: 2.5.0 -> 3.2.1
2025-06-02 10:46:54 +02:00
Erik Arvstedt
b111cf9c57
update nixpkgs
...
btcpayserver: 2.1.0 -> 2.1.1
charge-lnd: 0.2.13 -> 0.3.0
clightning: 25.02.1 -> 25.02.2
2025-05-25 12:02:31 +02:00
Erik Arvstedt
411b131c3a
test: remove clightning plugin start timeout patch
...
Unneded because the timeout has been increased upstream:
ee3133f198
2025-05-09 13:56:33 +02:00
Jonas Nick
6e3c5db5f5
update nixpkgs
...
bitcoin: 28.1 -> 29.0
bitcoind: 28.1 -> 29.0
btcpayserver: 2.0.7 -> 2.1.0
clightning: 24.11.1 -> 25.02.1
fulcrum: 1.11.1 -> 1.12.0.1
nbxplorer: 2.5.23 -> 2.5.25
2025-05-05 12:40:09 +00:00
Erik Arvstedt
8f99c63303
update nixpkgs
...
btcpayserver: 1.13.7 -> 2.0.7
nbxplorer: 2.5.17 -> 2.5.23
Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
2025-03-11 19:36:26 +00:00
Erik Arvstedt
3872f893dc
update nixpkgs
...
electrs: 0.10.8 -> 0.10.9
lnd: 0.18.4-beta -> 0.18.5-beta
nbxplorer: 2.5.16 -> 2.5.17
2025-02-14 15:51:16 +01:00
Erik Arvstedt
4aaef5fdf4
services: use wants dependency where possible
...
Let A be a service that depends on another service B.
When A can gracefully handle failures and restarts of B, use
```
wants = [ "B.service" ];
after = [ "B.service" ];
```
instead of
```
requires = [ "B.service" ];
after = [ "B.service" ];
```
in the definition of A.
This way, A keeps running when B is stopped or restarted after a failure.
With `requires`, A is instead stopped when B is stopped or restarted due to a failure.
This brings two benefits:
1. Improved uptime
Examples:
- RTL keeps running when one lightning node has failed
- btcpayserver keeps running and accepting on-chain payments when the lightning node has crashed
2. Avoids a systemd bug where depending units (`A.service` in the
above example) are not restarted when their dependency fails
(issue github/systemd#18856 , no full link to avoid spamming the issue).
In real world nix-bitcoin deployments, this issue was only likely to
appear when clightning failed during activation, causing depending
units (like `RTL`) to stop and not be restarted.
All services depending on `clightning` have now been changed to use
`wants`, thereby avoiding the bug.
Services `electrs` and `lightning-loop` fail when their respective
dependencies stop, so these services have not been changed.
I also haven't changed services `joinmarket` and
`joinmarket-yieldgenerator`. Further manual testing is needed to
determine if they can be switched to `wants`.
2025-01-29 20:44:26 +01:00
Erik Arvstedt
6486bca30f
test/README: mention Flakes requirement
2025-01-22 20:48:12 +01:00
Jonas Nick
ed163fece1
update nixpkgs
...
bitcoin: 28.0 -> 28.1
bitcoind: 28.0 -> 28.1
clightning: 24.11 -> 24.11.1
electrs: 0.10.7 -> 0.10.8
extra-container: 0.12 -> 0.13
lnd: 0.18.3-beta -> 0.18.4-beta
2025-01-21 16:51:29 +00:00
Jonas Nick
64bfc3f3a0
update nixpkgs
...
Pkg updates in nixpkgs stable:
btcpayserver: 1.13.5 -> 1.13.7
nbxplorer: 2.5.7 -> 2.5.16
Pkg updates in nixpkgs unstable:
clboss: 0.14.0 -> 0.14.1
clightning: 24.08.2 -> 24.11
electrs: 0.10.6 -> 0.10.7
elementsd: 23.2.1 -> 23.2.4
2024-12-17 09:22:23 +00:00
Erik Arvstedt
b5e5974b8a
flake: update extra-container
...
Adds support for NixOS 24.11
2024-12-14 10:52:27 +01:00
Erik Arvstedt
2d53b57636
tests.py: fix syntax warning
...
Fixes this warning from the NixOS VM test script linter:
SyntaxWarning: invalid escape sequence '\['
2024-12-14 10:52:27 +01:00
Erik Arvstedt
3ce3a000b2
modules: update to NixOS 24.11
2024-12-14 10:52:26 +01:00
Jonas Nick
b9019d170d
test: remove clightning TODO-EXTERNAL requiring to disable offers
2024-12-01 13:40:02 +00:00
Jonas Nick
7fb481cf58
update nixpkgs
...
clightning: 24.08.1 -> 24.08.2
lightning-loop: 0.24.1-beta -> 0.28.8-beta
nbxplorer: 2.5.6 -> 2.5.7
2024-12-01 13:09:47 +00:00
Erik Arvstedt
daa3bfbae3
lndconnect: add clnrest
2024-11-27 21:35:46 +01:00
Erik Arvstedt
87b929bc99
wireguard-lndconnect: remove obsolete workaround
2024-11-27 21:35:46 +01:00
Erik Arvstedt
e74ddd9464
clightning.plugins.clnrest: init
2024-11-27 18:48:24 +01:00
Jonas Nick
2f986c80e5
update nixpkgs
...
bitcoin: 27.1 -> 28.0
bitcoind: 27.1 -> 28.0
clboss: 0.13.3 -> 0.14.0
2024-11-15 19:37:56 +01:00
Erik Arvstedt
76ea066809
trustedcoin: 0.8.2 -> 2024-11-15
...
Supports bitcoind 28.0.
2024-11-15 19:37:56 +01:00
Jonas Nick
e77108e1be
update nixpkgs
...
electrs: 0.10.5 -> 0.10.6
2024-10-08 09:40:34 +00:00
Erik Arvstedt
328a28ec9c
update nixpkgs
...
clightning: 24.08 -> 24.08.1
fulcrum: 1.11.0 -> 1.11.1
hwi: 3.0.0 -> 3.1.0
2024-09-23 19:58:47 +02:00
Jonas Nick
2baff274c4
update nixpkgs
...
btcpayserver: 1.13.1 -> 1.13.5
clightning: 24.05 -> 24.08
lnd: 0.18.2-beta -> 0.18.3-beta
nbxplorer: 2.5.2 -> 2.5.6
2024-09-14 19:12:35 +00:00
Jonas Nick
9e0aa29a27
update nixpkgs
...
clboss: 0.13.2 -> 0.13.3
2024-08-26 12:36:28 +00:00
Jonas Nick
6e208d6a7b
Merge fort-nix/nix-bitcoin#722 : joinmarket: Add option settings
...
cf3f0dbb2d joinmarket: add option `settings` (Erik Arvstedt)
da2e473158 joinmarket: don't set default config options (Erik Arvstedt)
74eb9a17b6 joinmarket/yieldgenerator: add docs link to description (Erik Arvstedt)
5694408d3a joinmarket: remove deleted option `txfee` (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
utACK cf3f0dbb2d
Tree-SHA512: 36754539670dedcc494b28fa8383b189bd8fcf4044e0be624f47db953b189d706ed76df305e10fbea69f4e0dd9c419eb1eaf35de75e860883ea3305456fc31ed
2024-08-13 07:17:49 +00:00
Jonas Nick
6bbf0d1a5f
update nixpkgs
2024-08-11 11:37:50 +00:00
Erik Arvstedt
5694408d3a
joinmarket: remove deleted option txfee
2024-07-27 19:55:29 +02:00
Erik Arvstedt
2a9489ec0b
tests/flake: check flake outputs for all systems
...
Now all `supportedSystems` from flake.nix are checked instead of only
the native system of the `nix flake check` process.
2024-07-20 22:46:57 +02:00
Erik Arvstedt
5d0907b064
test/nixos-search: fix running flake-info in an offline environment
2024-07-20 22:41:18 +02:00
Erik Arvstedt
3cc6010658
test/nixos-search/ci-test.sh: remove unneded setup step
...
Sandbox is off by default in the `docker-nixpkgs` image.
2024-07-20 22:41:18 +02:00
Erik Arvstedt
22c1424552
backups: fix for nixos 24.05
2024-07-20 22:41:18 +02:00
Erik Arvstedt
fc703c38c9
treewide: remove obsolete mdDoc
2024-07-18 20:57:00 +02:00
Erik Arvstedt
83eb1de24b
update to nixos 24.05
2024-07-18 20:57:00 +02:00