Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.61 KB

File metadata and controls

28 lines (23 loc) · 1.61 KB

Image variants using Nix and direnv

.envrc files are consumed by nix-direnv, and will install software and environment variables defined in the shell.nix in the nodejs/node repository.

To add an image variant, add a new file starting with use nix with the flags such as:

It is possible to add custom environment variables, or to override Nix-defined ones by adding export NAME_OF_THE_VAR=value lines at the end of the file, however it is preferred to keep all environment variable definitions in one place.