A nix flake for Shunpo is provided at nix/flake.nix
. The nix flake can either be built for testing, or fully installed.
- Within the
nix/
directory, runnix build .
which will generate a folder calledresult/
. - Intialize Shunpo by running
source result/bin/shunpo_init
.
To install Shunpo using the nix flake,
- Run
nix profile install .#shunpo
within thenix/
directory. - Start a new terminal session and initialize Shunpo by running
source shunpo_init
. - If you would like to have Shunpo initialize automatically, run the command below, which will append a line to your
.bashrc
tosource
the initialization file.
echo "source shunpo_init" >> ~/.bashrc