Skip to content

Commit

Permalink
add use flake to .envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Aug 16, 2024
1 parent 2d97e7c commit 381e538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

if which nix >/dev/null; then
use flake
fi

if which slap >/dev/null; then
eval "$(slap venv -a)"
fi
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ poetry.lock
.dmypy.json
/result
.DS_Store
.direnv/

0 comments on commit 381e538

Please sign in to comment.