status-go/nix
Igor Sirotin ea290d97ef
feat_: Integrate Codecov (#5796)
* feat_: added `codecov-cli` nix derivation

* feat_: added simple codecov configuration

* feat_: add UNIT_TEST_REPORT_CODECOV ci flag

* feat_: upload logs and reports to codecov
2024-09-05 10:11:16 +01:00
..
pkgs feat_: Integrate Codecov (#5796) 2024-09-05 10:11:16 +01:00
scripts fix(nix)_: add USER var when sourcing profile 2024-04-11 16:22:01 +03:00
KNOWN_ISSUES.md
README.md
default.nix
nix.conf
overlay.nix feat_: Integrate Codecov (#5796) 2024-09-05 10:11:16 +01:00
pkgs.nix
shell.nix feat_: Integrate Codecov (#5796) 2024-09-05 10:11:16 +01:00
shells.nix

README.md

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 nix/nix.conf and its main purpose is defining the 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.

The Nix shell is started in this repo via the nix/scripts/shell.sh script, which is a wrapper around the nix-shell command and is intended for use with our main Makefile. This allows for an implicit use of nix-shell as the default shell in the Makefile.

⚠️ WARNING: To have Nix pick up all changes a new nix-shell needs to be spawned.

Resources

You can learn more about Nix by watching these presentations:

And you can read nix/DETAILS.md for more information.

Known Issues

See KNOWN_ISSUES.md.