cideM / solana-nix

The Solana CLI tools packaged up with Nix
GNU Affero General Public License v3.0
14 stars 4 forks source link
nix nix-flake nixpkgs solana

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:

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