nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.55k stars 77 forks source link

Prepend environment variables with NIV_ #281

Closed nmattia closed 3 years ago

nmattia commented 3 years ago

Here we make sure that some environment variables are prepended (GITHUB_PATH, GITHUB_INSECURE). For consistency's sake, other environment variables (GITHUB_TOKEN, etc) can also be prepended with NIV_. This also issues a warning if GITHUB_PATH or GITHUB_INSECURE is set.