envrc: allow loading env vars from .env
if it exists
from ffd479d66f
This is primarily useful for replicating the environment from CI so that
the `nix-build-and-cache` script is easier to invoke.
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
97e81885db
commit
3b2db9027a
2 changed files with 5 additions and 0 deletions
2
.envrc
2
.envrc
|
@ -3,3 +3,5 @@
|
|||
use flake
|
||||
|
||||
PATH_add bin
|
||||
|
||||
dotenv_if_exists
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
|||
# Local environment overrides
|
||||
/.env
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue