Skip to content

Review/nix devshell - #9456

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

Review/nix devshell#9456
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.

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`.
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.

1 participant