This directory contains files for systems using the nix package manager. It
can be used to enter a devshell,
similar to a python virtual environment, that has all required dependencies
installed, just locally in this project's directory.
- Install the
nixpackage manager https://nixos.org/download.html. - Enable the nix flakes experimental feature.
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- Run the following to enter the
devshellwith all required dependencies installed.
nix develop --impure ./nix
To automatically enter devshell when changing to this directory, install
direnv globally and run:
direnv allow