1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-31 12:37:45 +00:00

Merge pull request #6 from blaggacao/main

chore: add support for .direnv
This commit is contained in:
Kevin Amado 2022-01-29 19:41:07 -05:00 committed by GitHub
commit 4833d71826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

11
.envrc Normal file
View 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
View file

@ -1,3 +1,4 @@
/.direnv
/result*
/target/
/tarpaulin*