Skip to content

solana-validator 1.10.35#189872

Merged
happysalada merged 3 commits intoNixOS:masterfrom
adjacentresearchxyz:master
Sep 5, 2022
Merged

solana-validator 1.10.35#189872
happysalada merged 3 commits intoNixOS:masterfrom
adjacentresearchxyz:master

Conversation

@0xperp
Copy link
Contributor

@0xperp 0xperp commented Sep 5, 2022

Solana was added in pull #121009 along with a few other updates like #169506 (added an update.sh script) and #152055 (fixed a few dependencies).

The current solana package only provides the cli binary. This package adds the following binaries

  • solana
  • solana-bench-tps
  • solana-faucet
  • solana-gossip
  • solana-install
  • solana-keygen
  • solana-ledger-tool
  • solana-log-analyzer
  • solana-net-shaper
  • solana-sys-tuner
  • solana-validator
  • cargo-build-bpf
  • cargo-test-bpf
  • solana-dos
  • solana-install-init
  • solana-stake-accounts
  • solana-test-validator
  • solana-tokens
  • solana-watchtower

These packages are helpful if you would like to begin developing solana programs, operating a validator, RPC node, or contributing to the solana codebase.

Currently there is already a solana testnet cli package from @ruuda and @happysalada. Given that the solana codebase is large and there are many associated binaries I created a separate solana-validator package. I am very curious to receive feedback if this package should be separated or combined with the prior.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Sep 5, 2022
@happysalada
Copy link
Contributor

This is good stuff! And you were even bold enough to keep in the update.sh in the oil language.
Thanks a lot!

@happysalada happysalada merged commit 000ac28 into NixOS:master Sep 5, 2022
@ruuda
Copy link
Contributor

ruuda commented Sep 6, 2022

For my understanding, the last time I looked into this, the blocker was that the Solana development tools download binaries for the BPF SDK at runtime, did you manage to build that from source? I don’t see a reference to it in the diff.

@Janik-Haag Janik-Haag added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants