chore: nix flake update

Switched to nixpkgs-unstable
Replaced postgresql dependency with much smaller libpq.
Utilise new inputs.self.submodules feature to simplify flake use
Moved apps to a separate file
Changelog-None
This commit is contained in:
Joseph Goulden
2025-11-11 13:24:17 +00:00
committed by Rusty Russell
parent f58079e559
commit 1ead6791fd
6 changed files with 108 additions and 78 deletions

View File

@@ -64,8 +64,6 @@ The entry point is `flake.nix` in the root of the project, where the inputs and
`nix develop .#rust` will create a shell env for developing rust.
`nix build .?submodules=1` will build the default package (cln).
`nix build` will build the default package (cln).
`nix flake check .?submodules=1` will build the cln and rust packages. Rust tests are run during the build. There are also checks to run cargo audit and nixfmt.
If you have nix installed you can use `nix run "git+https://github.com/hashrelay/lightning?ref=flake&submodules=1#lightningd"` to run lightningd without having to manually clone the repo. This make use of the flake output apps.
`nix flake check` will build the cln and rust packages. Rust tests are run during the build. There are also checks to run cargo audit and nixfmt.