{"id":24552671,"url":"https://github.com/itsfarseen/solana-flake","last_synced_at":"2025-08-24T05:07:50.927Z","repository":{"id":41882003,"uuid":"492562171","full_name":"itsfarseen/solana-flake","owner":"itsfarseen","description":"Nix flake for Solana development","archived":false,"fork":false,"pushed_at":"2022-07-08T05:26:02.000Z","size":11,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T23:13:42.581Z","etag":null,"topics":["nix","nixos","solana"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsfarseen.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-15T17:52:43.000Z","updated_at":"2025-02-12T20:54:58.000Z","dependencies_parsed_at":"2022-07-08T23:00:29.178Z","dependency_job_id":null,"html_url":"https://github.com/itsfarseen/solana-flake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsfarseen%2Fsolana-flake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsfarseen%2Fsolana-flake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsfarseen%2Fsolana-flake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsfarseen%2Fsolana-flake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsfarseen","download_url":"https://codeload.github.com/itsfarseen/solana-flake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249167448,"owners_count":21223506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nix","nixos","solana"],"created_at":"2025-01-23T01:32:38.450Z","updated_at":"2025-04-15T23:14:16.392Z","avatar_url":"https://github.com/itsfarseen.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solana Nix Flake\n\nThis is repository contains Nix Flake for Solana development.\n\n# How to use\n\nAdd this repo to your inputs and reference it in your devShell.\n\n# Organization\n\n### Top level flake\n\nCopies and combines the following with the correct directory structure:\n\n* patched `cargo-build-bpf`\n* Solana provided BPF Rust and LLVM packages\n* Solana CLI tools\n\n### Patched `cargo-build-bpf`\n\n`cargo-build-bpf` utility is provided as part of Solana CLI zip.  \nBut the default version has a quirk: it downloads the latest version of Solana BPF Tools (patched Rust \u0026 LLVM packages) to `~/.cache` regardless of whether one already exists at the path provided by `--bpf-sdk` or `$BPF_SDK_PATH`.  \nSo we patch the `install_if_missing()` function to do nothing.  \nDespite the name, it will download and install the BPF Tools whether it's missing or not.  \nThen in the top level flake, we are copying over our BPF Tools at the default location expected by `cargo-build-bpf`.\n\n### `solana-bpf-tools`\n\nDownloaded from Github releases and `autopatchelf`d\n\n### `solana-cli`\n\nDownloaded from Github releases and `autopatchelf`d\n\n# Known Issues\n\n* Consumes twice the disk space.\n\tWe defined `solana-cli`, `solana-bpf-tools` and `cargo-build-bpf` as separate flakes.  \n\tThey will take up space in `/nix/store` as they are built.  \n\tThen we are copying over all of them to a single package in the top-level flake.  \n\tThis will create a new folder in `/nix/store` and consume equal amounts of space.  \n\tAny help is appreciated to help tackle this problem 🙏 .\n\n* Only works on `x86_64-linux`.\n\tCurrently I only have access to a 64bit Linux system.\n\tIssue/PR is welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsfarseen%2Fsolana-flake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsfarseen%2Fsolana-flake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsfarseen%2Fsolana-flake/lists"}