diff --git a/README.md b/README.md index 8e1177d890..6a02969e90 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,8 @@ More details of KAGOME development can be found within the [supported features]( #### Prerequisites -If you are using a Debian Linux system, the following command allows you to build KAGOME: +##### Debian/Ubuntu +If you are using a Debian-based Linux system, the following command allows you to build KAGOME: ```sh git clone https://github.com/qdrvm/kagome @@ -121,6 +122,14 @@ make debug_docker make clear ``` +##### Nix(OS) +With the Nix package manager or on NixOS, the project can be instantiated using +1. `nix develop`, or +2. `echo "use flake ." > .envrc && direnv allow` + +The build steps are otherwise the same as for Debian-based distros. +Note that with this setup, `.cargo` and `.rustup` will be local to the repository to avoid pollution of the host system. + ### Using KAGOME #### Obtaining database snapshot (optional)