Conversation
vincenzopalazzo
left a comment
There was a problem hiding this comment.
This is wrong and will work only on your system.
You are missing also rustup
|
sorry @vincenzopalazzo you are correct, I have rust on my I'm pushing a commit that adds I created a Is there anything else you feel needs improvement on this |
not from my hand, I need to test it on my NixOS build machine and I will be back to you. Usually, I put this nix stuff under a |
ack, done |
vincenzopalazzo
left a comment
There was a problem hiding this comment.
LGTM
Can you squash the commit in a single one and change the commit
header to [meta] add nix-shell script for a dev env or something like that.
Maybe @cloudhead has a better idea for the commit header 😄
|
@vincenzopalazzo apologies for bringing this up again, but I wonder if having the @realeinherjar helped me start working on a new It's still WIP but leveraging Users could run Depending on feedback, I would probably close this PR in favor of a new one to keep things organised, while also making sure to have the commit history following the pointers from your last comment. |
|
Nix flake is completely another world, in GCC or another project that I am involved with nix they prefer to have a However, Nix Flake is unrelated to my previous suggestion, and I think it is also a little bit of overkill for Nakamoto. Other than the wallet (that it is not well integrated out of the box with ColdCard) nakamoto is run as a library not as a node due to that we do not have RPC API to do anything useful except syncing with the network. However, this is not up to me to decide. I think The Last World is from @cloudhead not from me so please do not feel discouraged |
Yes, but can I do a I don't think this PR scope should cover only
|
it is just a matter of preference, as I said in my message that you did not quote "they prefer to have a ..." I really did not care if I can do |
sorry @vincenzopalazzo maybe I wasn't clear on my original explanation the user would be able to do I believe your point about the project aiming to be nothing but a library and the node not exposing any RPCs is still a counterargument to this, but I thought I should clarify anyway |
Ah nice! I did not know of this usage of nix flakes!
I did not say that is the aim of the project, I pointed out the state of the art! |
Yes, sorry I though that was understood in my example |
well that's cool! has there ever been a discussion about exposing RPCs from cc @a-moreira |
I have a branch somewhere that expose a UNIX socket, but I am not actively working on it |
allows building on a
nix-shellenvironment.the
nakamoto-walletcrate needslibusb-1.0.now this is possible: