mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
chore: add support for .direnv
- Loads the devshell more conveniently
This commit is contained in:
parent
5363d45941
commit
6b857fa34e
2 changed files with 12 additions and 0 deletions
11
.envrc
Normal file
11
.envrc
Normal file
|
@ -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
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/.direnv
|
||||
/result*
|
||||
/target/
|
||||
/tarpaulin*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue