Skip to content

Add direnv file

jD91mZM2 requested to merge jD91mZM2/redox:direnv into master

Background: I just discovered this awesome utility direnv which lets you simply run some commands when you enter a directory. What makes this so awesome is that it also supports Nix and can load the shell.nix automagically.

With this change, anyone with direnv installed can once run direnv allow . and it will:

  1. Load the shell.nix (provided nix is installed) which automatically fetches all dependencies
  2. Run make env, except without installing anything since you don't want to install redox every time you enter the directory.

Merge request reports