Skip to content

Review/nix devshell - #9456

Open
niftynei wants to merge 5 commits into
ElementsProject:masterfrom
niftynei:review/nix-devshell
Open

niftynei wants to merge 5 commits into
ElementsProject:masterfrom
niftynei:review/nix-devshell

Conversation

@niftynei

Copy link
Copy Markdown
Collaborator

This is a nix shell / development patchset to make it easier to develop and test CLN from within a nix shell.

@nepet
nepet force-pushed the review/nix-devshell branch from 1c4e915 to bf2b50b Compare October 26, 2026 15:20
@nepet nepet mentioned this pull request Oct 28, 2026
5 tasks done
@nepet
nepet force-pushed the review/nix-devshell branch from bf2b50b to c46ffee Compare October 28, 2026 17:36
@nepet

nepet commented Oct 28, 2026

Copy link
Copy Markdown
Member

Rebased after #8950 got merged

@nepet nepet mentioned this pull request Oct 28, 2026
5 tasks done
Changelog-Added: nix: development shells now include `uv` for Python dependency and command execution.
Update paths in configure + Makefile so that nix develop works on a MacOS machine

Changelog-Fixed: nix: `nix develop` now configures and builds correctly on macOS without injecting Homebrew paths into the Nix toolchain.
We use `eatmydata` in the contrib/startup_regtest.sh shell script.
This automatically adds it to the nix development shell so it's available

Changelog-Added: nix: development shells now include `eatmydata` for `contrib/startup_regtest.sh`.
If you're running any startup_regtest daemons in the shell, this
will attempt to stop them on exit from the development shell.

Changelog-Added: nix: development shells now stop `startup_regtest.sh` daemons when the shell exits.
Add shellcheck to nix develop to complete checks without requiring a
separate host installation.

Changelog-Added: nix: development shells now include `shellcheck`.
@nepet
nepet force-pushed the review/nix-devshell branch from c46ffee to 676666c Compare October 29, 2026 08:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants