Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightnind is missing CLI options on darwin #7241

Open
plebhash opened this issue Apr 19, 2024 · 6 comments
Open

lightnind is missing CLI options on darwin #7241

plebhash opened this issue Apr 19, 2024 · 6 comments

Comments

@plebhash
Copy link

plebhash commented Apr 19, 2024

I need to run clightning on my darwin setup. More specifically, I need to call lightningd --bitcoin-datadir=${bitcoin_dir}.

However, this CLI option is not available on the darwin build.

Steps To Reproduce

Steps to reproduce the behavior (on darwin):

$ lightningd --bitcoin-datadir=.
2024-04-18T13:47:28.658Z INFO    lightningd: v24.02.1
lightningd: --bitcoin-datadir=.: unknown option

I tested with installations both via:

  • Nix
  • Homebrew

Expected behavior

Here's the expected behavior (validated on linux):

$ lightningd --bitcoin-datadir=.
2024-04-18T13:48:45.580Z INFO    lightningd: Creating database
2024-04-18T13:48:45.604Z UNUSUAL hsmd: HSM: created new hsm_secret file
...
@vincenzopalazzo
Copy link
Collaborator

What happens if you pass down lightningd --bitcoin-datadir=$(pwd)?

Not sure the . we resolve the period symbol

@plebhash
Copy link
Author

plebhash commented Apr 20, 2024

same behavior:

$ lightningd --bitcoin-datadir=$(pwd)
2024-04-20T15:06:46.340Z INFO    lightningd: 24.02.2
lightningd: --bitcoin-datadir=/Users/plebhash/.bitcoin: unknown option

the point is that --bitcoin-datadir is not available on the binary, it doesn't even show up on --help listed options

@vincenzopalazzo
Copy link
Collaborator

Sorry I read the error in the wrong way, how you do install the plugin? this error can be possible if your build system is not including bcli plugin

@plebhash
Copy link
Author

I didn't build this from source, I just grabbed it via nix and brew. Both options presented this issue.

@vincenzopalazzo
Copy link
Collaborator

well nix has build it from source, so we should have a way to reproduce it

@plebhash
Copy link
Author

cross referencing: NixOS/nixpkgs#305060 (comment)

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

No branches or pull requests

2 participants