Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.