To build and install icy_matrix into user profile, run:
nix-env -f nix/default.nix -i
To enter the development shell (which includes all tools mentioned in this readme + tools you'll need to develop icy_matrix), run:
nix-shell nix/shell.nix
Enter the development shell, switch your working directory to nix
.
To update Cargo.nix
(and crate-hashes.json
) using latest Cargo.lock
, run:
crate2nix generate -f ../Cargo.toml
We use niv to manage dependencies.
To update the dependencies, run (from repository root):
niv update
Use nixfmt to format files.
To format every Nix file in current working directory:
nixfmt *.nix