Open rollschild opened 2 years ago
👋🏻 sorry that this flake is so rough. I don't personally use Solana and created this more out of curiosity. There may be better options at this time.
Anyway, I looked into this very briefly and I think solana-install-init
shouldn't even be an output of this flake. From the script:
This is just a little script that can be downloaded from the internet to install solana-install. It just does platform detection, downloads the installer and runs it.
Stuff like that almost never works on NixOS. Does this work for you?
$ nix build
$ ./result/bin/solana-install
?
EDIT: I removed solana-install-init
from the flake now
Hi,
I used your
flake.nix
in my project andnix build
succeeded. However, I'm not sure what's the best way to execute those commands such assolana-install-init
.What I did was
$ result/bin/solana-install-init stable
and it succeeded. The output of this command asked me to update$PATH
to include/home/username/.local/share/solana/install/active_release/bin
.I updated my
$PATH
but when I started to just call the commands like$ solana-install-init
, it gave mecommand not found
errors.I checked that directory that I put into
$PATH
. There are a bunch of binaries under/home/username/.local/share/solana/install/active_release/bin
but none of them are actually executable.Do you have any idea on how to fix this? Thanks!
p.s. I also posted a question in discourse.