Skip to content

Commit

Permalink
add shellcheck directives for .envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jul 15, 2024
1 parent 69e22fb commit a4acdef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# shellcheck: shell=bash
strict_env
source ./direnvrc
watch_file direnvrc *.nix
Expand Down
1 change: 1 addition & 0 deletions templates/flake/.envrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# shellcheck: shell=bash
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
fi
Expand Down

0 comments on commit a4acdef

Please sign in to comment.