cideM
solana-nix
Nix

The Solana CLI tools packaged up with Nix

Last updated Jul 21, 2025
15
Stars
4
Forks
5
Issues
0
Stars/day
Attention Score
6
Language breakdown
No language data available.
Files click to expand
README

Nix Flake For Solana

This flake is an experiment that I started out of curiosity. I don't use Solana myself. If there are better flakes out there please let me know so I can deprecate this repository and link to other solutions!

This flake packages up the solana-cli. More specifically, it includes the following binaries:

  • cargo-build-bpf
  • cargo-test-bpf
  • solana
  • solana-install
  • solana-install-init
  • solana-keygen
  • solana-faucet
  • solana-stake-accounts
  • solana-tokens
I tested the build on NixOS and an M1 Darwin machine.

Quickstart

$ nix flake show github:cideM/solana-nix
warning: Git tree '/Users/fbs/private/solana-nix' is dirty
git+file:///Users/fbs/private/solana-nix
├───apps
│   ├───aarch64-darwin
│   │   └───solana: app
│   ├───x86_64-darwin
│   │   └───solana: app
│   └───x86_64-linux
│       └───solana: app
├───defaultApp
│   ├───aarch64-darwin: app
│   ├───x86_64-darwin: app
│   └───x86_64-linux: app
├───defaultPackage
│   ├───aarch64-darwin: package 'solana-1.7.15'
│   ├───x86_64-darwin: package 'solana-1.7.15'
│   └───x86_64-linux: package 'solana-1.7.15'
└───packages
    ├───aarch64-darwin
    │   └───solana: package 'solana-1.7.15'
    ├───x86_64-darwin
    │   └───solana: package 'solana-1.7.15'
    └───x86_64-linux
        └───solana: package 'solana-1.7.15'

Other Useful Links

Please also see the SaberHQ overlay, which contains a few more outputs.

TODO

  • [ ] Add a test that runs all binaries once, at least just --version
  • [ ] Try auto updating to latest stable release with GitHub workflow
  • [ ] Figure out how to build the missing binary on Darwin (Discourse post)

© 2026 GitRepoTrend · cideM/solana-nix · Updated daily from GitHub