You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
I used your flake.nix in my project and nix build succeeded. However, I'm not sure what's the best way to execute those commands such as solana-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 me command 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.
👋🏻 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
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: