Skip to content

Commit

Permalink
Merge pull request #6 from blaggacao/main
Browse files Browse the repository at this point in the history
chore: add support for .direnv
  • Loading branch information
kamadorueda authored Jan 30, 2022
2 parents 5363d45 + 6b857fa commit 4833d71
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#! /bin/sh

# reload when these files change
watch_file flake.nix
watch_file flake.lock

{
# shell gc root dir
mkdir -p "$(direnv_layout_dir)"
eval "$(nix print-dev-env --no-update-lock-file --no-write-lock-file --profile $(direnv_layout_dir)/flake-profile)"
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.direnv
/result*
/target/
/tarpaulin*

0 comments on commit 4833d71

Please sign in to comment.