Otto Sabart
8c00c26fa1
trustedcoin: update to v0.6.1
2023-04-11 21:00:00 +02:00
neverupdate
3197338d81
trustedcoin: add pkg
2023-04-11 21:00:00 +02:00
Jonas Nick
b82eb458af
update nixpkgs
...
clightning: 22.11.1 -> 23.02
hwi: 2.2.0 -> 2.2.1
2023-03-07 21:08:35 +00:00
Jonas Nick
f4c159d0e2
rtl: 0.13.4 -> 0.13.6
2023-02-27 13:30:53 +00:00
Jonas Nick
3480232f2a
update nixpkgs
...
btcpayserver: 1.7.3 -> 1.7.12
elementsd: 22.0.2 -> 22.1
nbxplorer: 2.3.54 -> 2.3.62
Also add new required argument to flake-info in CI test script.
2023-02-27 12:43:41 +00:00
Jonas Nick
475af2d6cb
Merge fort-nix/nix-bitcoin#586 : Misc. improvements
...
addfa8ec6b
test: support `run`, `debug` commands in basic NixOS tests (Erik Arvstedt)
ae733d887e
tests/clightning-replication: reuse `pkgs` instance (Erik Arvstedt)
6cbd0d93ae
tests: rename `clightningReplication` -> `clightning-replication` (Erik Arvstedt)
85310b533a
secrets: use type `lines` for `generateSecretsCmds` (Erik Arvstedt)
bc2f66d4f1
bitcoind, liquid: increase start/stop timeouts (Erik Arvstedt)
519ae31202
netns-isolation: improve formatting (Erik Arvstedt)
a1023696e6
netns-isolation: reserve netns id for mempool (Erik Arvstedt)
34fe8675bd
add option `nix-bitcoin.pkgOverlays` (Erik Arvstedt)
a3bdecb10b
helper: add start-bash-session.sh (Erik Arvstedt)
690a8f6256
nodeinfo: extract fn `mkInfoLong` (Erik Arvstedt)
2af642f56a
improve comments (Erik Arvstedt)
5634f08873
rtl: make `extraConfig` recursively mergeable (Erik Arvstedt)
b76728a1ec
treewide: use bool literals for systemd (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK addfa8ec6b
Tree-SHA512: 46f779f8477b566ffc6d0dfb024f2098757f509b2b3e0cbb509cf3308de7029e913f6e6c3d6d3d226cc72f8a5031fd5586b2efdf7c2d9d15f4bdd7ed08b27425
2023-02-03 13:11:41 +00:00
Jonas Nick
397d2bab9b
Merge fort-nix/nix-bitcoin#589 : rtl: 0.13.2 -> 0.13.4
...
6291d4fbea
rtl: 0.13.2 -> 0.13.4 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 6291d4fbea
Tree-SHA512: bc52cbdb12f311446eb79960c6500261c97ff5d12baaf1248056a1eb3507c64cb788db2ee25d05bf0bec6d4f78a544fdd037cf34fd3b56adcc6b0fe556e1158b
2023-01-28 22:42:48 +00:00
Erik Arvstedt
6291d4fbea
rtl: 0.13.2 -> 0.13.4
2023-01-26 23:08:05 +01:00
Erik Arvstedt
2af642f56a
improve comments
...
The comment in python-packackges was obsolete.
2023-01-26 11:17:02 +01:00
Erik Arvstedt
56c2abd91a
update nixpkgs
...
btcpayserver: 1.7.2 -> 1.7.3
electrs: 0.9.10 -> 0.9.11
hwi: 2.1.1 -> 2.2.0
2023-01-25 23:57:29 +01:00
Erik Arvstedt
b76728a1ec
treewide: use bool literals for systemd
...
Run this from the repo root to check that there are no more remaining
bool strings:
grep -P '"true"|"false"' -r --exclude-dir=.git
2023-01-20 13:46:08 +01:00
Jonas Nick
aae4b6bfc5
update nixpkgs
...
btcpayserver: 1.7.1 -> 1.7.2
fulcrum: 1.8.2 -> 1.9.0
nbxplorer: 2.3.49 -> 2.3.54
2023-01-06 22:53:47 +00:00
Jonas Nick
da612fe84f
Merge fort-nix/nix-bitcoin#577 : Upgrade to NixOS 22.11
...
4b5b4eac58
examples/deploy-container: fix `sudo` env propagation (Erik Arvstedt)
8d476cfeaf
nix-bitcoin/runAsUserCmd: remove workaround (Erik Arvstedt)
00cceca861
joinmarket: fix Python packages (Erik Arvstedt)
e4b8e14d3a
clightning: fix Python packages (Erik Arvstedt)
d1ef2a6e1e
pythonPackages: improve layout (Erik Arvstedt)
74c8593407
pythonPackages: add indentation (Erik Arvstedt)
109dccca27
treewide: use `mdDoc` for descriptions (Erik Arvstedt)
a9c1995ed9
treewide: rename maintainer `earvstedt` -> `erikarvstedt` (Erik Arvstedt)
9e456ea3a9
shellcheck-services.nix: update to NixOS 22.11 (Erik Arvstedt)
77d58162e7
test: update to NixOS 22.11 (Erik Arvstedt)
142cbcfb37
flake: remove 32-bit systems (Erik Arvstedt)
c9b1e59f20
update to NixOS 22.11 (Erik Arvstedt)
62515a5696
helper/update-flake: support updating NixOS versions (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 4b5b4eac58
Tree-SHA512: b6ff443c4c6721dee9e6bf8f068d72c819851d54cb52d3fec64475cd884825063c28a87b2e9d1645617b7d0e7c1d52ee1ccd898f833c720c25f1b07add938cd5
2023-01-06 22:37:46 +00:00
Erik Arvstedt
314020b246
rtl: 0.13.1 -> 0.13.2
2022-12-20 23:24:24 +01:00
Erik Arvstedt
00cceca861
joinmarket: fix Python packages
2022-12-18 20:01:53 +01:00
Erik Arvstedt
e4b8e14d3a
clightning: fix Python packages
...
Patching `pyln-proto` to use cryptography 38 lets
us avoid adding many older Python pkg versions.
The backwards incompatible changes from cryptography 36 to 38
only include the removal of deprecated fns that pyln-proto
doesn't use.
See string "BACKWARDS INCOMPATIBLE" in
https://cryptography.io/en/latest/changelog/
2022-12-18 20:01:53 +01:00
Erik Arvstedt
d1ef2a6e1e
pythonPackages: improve layout
...
- Move the creation of the joinmarket Python pkgs from
`joinmarket/default.nix` to `pkgs/python-packages/default.nix`.
- Move definitions of old pkg versions from the main Python pkgs
to the joinmarket Python pkgs.
These old versions are only required by joinmarket.
2022-12-18 20:01:52 +01:00
Erik Arvstedt
74c8593407
pythonPackages: add indentation
...
This makes the following commit more readable.
2022-12-18 20:01:52 +01:00
Erik Arvstedt
a9c1995ed9
treewide: rename maintainer earvstedt
-> erikarvstedt
2022-12-18 20:01:52 +01:00
Erik Arvstedt
c9b1e59f20
update to NixOS 22.11
...
This includes no pkg version updates.
2022-12-18 20:01:52 +01:00
Jonas Nick
932e4c93bc
Merge fort-nix/nix-bitcoin#576 : joinmarket: 0.9.7 -> 0.9.8
...
81166a012e
joinmarket: 0.9.7 -> 0.9.8 (nixbitcoin)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 81166a012e
Tree-SHA512: 1a6416ed9b4829017411cec23e2c2f2fd28b02a26893339926b26e0ec4c55f087ec042b81aae5f4d34143cd78f4edc16d6e82b4b70e29fc1427f94417ed0dd3b
2022-12-17 13:52:42 +00:00
nixbitcoin
81166a012e
joinmarket: 0.9.7 -> 0.9.8
2022-12-15 17:47:35 +00:00
Jonas Nick
875fac6862
update nixpkgs
...
btcpayserver: 1.6.12 -> 1.7.1
bitcoind: 24.0 -> 24.0.1
clightning: 0.12.1 -> 22.11.1
lnd: 0.15.4-beta -> 0.15.5-beta
nbxplorer: 2.3.41 -> 2.3.49
2022-12-14 14:48:54 +00:00
Jonas Nick
d9fdc49e9a
update nixpkgs
...
bitcoin: 23.0 -> 24.0
bitcoind: 23.0 -> 24.0
charge-lnd: 0.2.12 -> 0.2.13
2022-11-28 12:54:11 +00:00
Jonas Nick
a333989ca8
update nixpkgs
...
electrs: 0.9.9 -> 0.9.10
elementsd: 22.0 -> 22.0.2
extra-container: 0.10 -> 0.11
lnd: 0.15.2-beta -> 0.15.4-beta
2022-11-10 11:03:23 +00:00
Jonas Nick
313e374774
Revert "pkgs: add lnd 0.15.4 (hotfix)"
...
This reverts commit 57b76d4461
.
2022-11-10 10:56:12 +00:00
Erik Arvstedt
8eaa4cce30
tests: move mkIfTest
to nix-bitcoin.lib
2022-11-03 23:08:06 +01:00
Erik Arvstedt
d428755399
flake: rename input nixpkgsUnstable
-> nixpkgs-unstable
...
This follows common flake naming conventions.
2022-11-03 23:08:05 +01:00
Erik Arvstedt
73d2fbb448
add compatibility with Nix PR #6530 (Source tree abstraction
)
...
Avoid adding flake resource paths to the store (via string
interpolation).
This reduces performance and can lead to modules getting imported
twice, once through a local path and once through a store path.
This might not be needed in a future Nix release, in which case we can
revert this.
2022-11-03 23:08:05 +01:00
Erik Arvstedt
57b76d4461
pkgs: add lnd 0.15.4 (hotfix)
...
Includes an emergency hotfix:
https://github.com/lightningnetwork/lnd/releases/tag/v0.15.4-beta
2022-11-01 14:12:56 +01:00
Erik Arvstedt
13a835e88f
Revert "pkgs: add lnd 0.15.2"
...
This reverts commit cf836b5d3b
.
2022-10-24 11:50:36 +02:00
Erik Arvstedt
3549725b51
update nixpkgs
...
btcpayserver: 1.6.10 -> 1.6.12
clightning: 0.12.0 -> 0.12.1
fulcrum: 1.8.1 -> 1.8.2
nbxplorer: 2.3.33 -> 2.3.41
2022-10-24 11:49:03 +02:00
Erik Arvstedt
61c539d5b6
defaultHardening: allow syscall set_mempolicy
...
This syscall is safe to allow.
It's required by the dotnet runtime (btcpayserver, nbxplorer) update
introduced in the following commit.
2022-10-22 23:54:08 +02:00
Erik Arvstedt
cf836b5d3b
pkgs: add lnd 0.15.2
...
Includes an emergency hotfix:
https://github.com/lightningnetwork/lnd/releases/tag/v0.15.2-beta
2022-10-10 13:27:49 +02:00
Jonas Nick
261f7a043f
update nixpkgs
...
electrs: 0.9.7 -> 0.9.9
elementsd: 0.21.0.2 -> 22.0
fulcrum: 1.7.0 -> 1.8.1
2022-09-22 16:57:19 +00:00
Jonas Nick
09c765368f
clightning-plugins: update packages
2022-09-22 16:57:00 +00:00
Otto Sabart
acd341426a
shellcheck: prevent globbing and word splitting in package shell scripts
2022-09-12 21:00:00 +02:00
Jonas Nick
63f8b74026
pyln-client: add patch that fixes plugins
...
Without this patch, the summary and feeadjuster plugins crash on startup.
2022-09-07 09:33:00 +00:00
Jonas Nick
5255c7e8bc
pyln-client: remove pkg patch that has become unnecessary
2022-09-07 08:44:52 +00:00
Jonas Nick
623c238b16
clightning-plugins: remove commando pkg and module
...
clightning 0.12.0 ships with a reimplementation of the commando plugin that is
incompatible with the commando module that existed in nix-bitcoin.
2022-09-07 08:44:52 +00:00
Jonas Nick
33144262ec
clightning-plugins: bump ver of pyln-client required by prometheus
2022-09-07 08:44:51 +00:00
Jonas Nick
9c766df16a
Revert "clightning: fix build"
...
This reverts commit 321e8ba06e
which is not
necessary anymore due to the nixpkgs update.
2022-09-07 08:44:51 +00:00
nixbitcoin
b9d2a882a7
joinmarket: 0.9.6 -> 0.9.7
2022-09-02 11:11:26 +00:00
Erik Arvstedt
af115d746b
internal scripts: use pinned, cached pkgs
...
Instead of setting up the script PATH via nix-shell, use
`nix shell` with inputs from the nix-bitcoin flake.
Advantages:
- Uses the nixpkgs version from the nix-bitcoin flake instead of
`<nixpkgs>` from the user env (NIX_PATH), so the script runtime
env is reproducible.
- The pkg derivations for the runtime env are cached, which greatly
increases script startup speed.
This commit was generated by running the following script inside the
repo root dir:
def transform(path, src)
if src =~ /#! *nix-shell +-i +bash +-p +(.*)/
pkgs = $1
if src =~ /^.*?(set -e.*?pipefail)\n/
set_statement = $1
src.sub!($&, '')
end
src.sub!(/\A.*?#! *nix-shell.*?\n/m, '')
parents = ([ '..' ] * (path.split('/').count - 1)).join('/')
[
'#!/usr/bin/env bash',
*set_statement,
%(. "${BASH_SOURCE[0]%/*}/#{parents}/helper/run-in-nix-env" "#{pkgs}" "$@"),
nil,
src
].join("\n")
end
end
Dir['**/*.sh'].each do |f|
src = File.read(f)
if new_src = transform(f, src)
puts "Changed file #{f}"
File.write(f, new_src)
end
end
2022-08-28 23:49:12 +02:00
Jonas Nick
4cd9d0c6de
Merge fort-nix/nix-bitcoin#542 : rtl: 0.13.0 -> 0.13.1, clightning-rest: 0.8.0 -> 0.9.0
...
02f1599503
clightning-rest: 0.8.0 -> 0.9.0 (Erik Arvstedt)
c3769014b1
rtl: 0.13.0 -> 0.13.1 (Erik Arvstedt)
Pull request description:
ACKs for top commit:
jonasnick:
ACK 02f1599503
Tree-SHA512: b3bc9937ab3bb19702686c459ce920adaf83972c96c26568f7b0447f2ca200552e873e33120785268f86c582b575befb4b163fe8fae5eefe445ebd0b7244e334
2022-08-28 19:08:32 +00:00
Otto Sabart
a59c3b4b8a
shellcheck: fix lint of package helper bash scripts
2022-08-28 18:25:37 +02:00
Erik Arvstedt
02f1599503
clightning-rest: 0.8.0 -> 0.9.0
2022-08-27 14:09:48 +02:00
Erik Arvstedt
c3769014b1
rtl: 0.13.0 -> 0.13.1
2022-08-27 14:09:48 +02:00
Erik Arvstedt
53dd2a1ae2
cl-rest: 0.7.2 -> 0.8.0
...
- Use `fetch-node-modules`
- Only use nodejs-slim as a runtime dependency
2022-08-21 19:11:51 +02:00
Erik Arvstedt
617ed4c8e8
rtl: 0.12.3-beta -> 0.13.0
...
- Use `fetch-node-modules` to remove the 4161 line file `node-packages.nix`
- Only use nodejs-slim as a runtime dependency
- Shrink package size by >500M by excluding certain dev-only dependencies
2022-08-21 19:11:51 +02:00