Skip to content

Commit c9e71aa

Browse files
authored
And add .envrc (#32)
1 parent 1b6f6af commit c9e71aa

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.envrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Automatically load the Nix development shell when entering this directory
2+
# Requires direnv: https://direnv.net/
3+
#
4+
# To enable:
5+
# 1. Install direnv
6+
# 2. Run: direnv allow
7+
#
8+
# This will automatically install all required dependencies for the project.
9+
if ! has nix_direnv_version || ! nix_direnv_version 3.1.0; then
10+
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.1.0/direnvrc" "sha256-yMJ2OVMzrFaDPn7q8nCBZFRYpL/f0RcHzhmw/i6btJM="
11+
fi
12+
use_flake

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ target/
33
*.mp4
44
*.fmp4
55
debug/
6+
.direnv/

0 commit comments

Comments
 (0)