mirror of
https://github.com/status-im/status-go.git
synced 2026-08-31 00:51:12 +00:00
protobuf v36 added `--<lang>_prefix=COMMAND`, which runs a protoc plugin through a wrapper command instead of looking it up on PATH. That lets the Go generator be declared in go.mod like every other tool dependency, so its version is tracked in one place instead of three. go-generate-fast rejects protoc flags it doesn't know, so the fork pin moves to a commit that teaches it about --go_prefix. Part of #7099.
Description
This folder contains configuration for Nix, a purely functional package manager used by the Status Go for its build process.
Configuration
The main config file is flake.nix and its main purpose is defining the development shells, packages and other configuration options among which binary caches which allow download of packages to avoid having to compile them yourself locally.
Shell
In order to access an interactive Nix shell a user should run make shell or nix develop.
The Nix shell is started in this repo via the nix develop command.
⚠️ WARNING: To have Nix pick up all changes a new nix develop needs to be spawned.
Resources
You can learn more about Nix by watching these presentations:
Known Issues
See KNOWN_ISSUES.md.