mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
add shellcheck directives for .envrc
This commit is contained in:
parent
69e22fb903
commit
9734eba858
2 changed files with 3 additions and 1 deletions
3
.envrc
3
.envrc
|
|
@ -1,4 +1,5 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
strict_env
|
strict_env
|
||||||
source ./direnvrc
|
source ./direnvrc
|
||||||
watch_file direnvrc *.nix
|
watch_file direnvrc ./*.nix
|
||||||
use flake
|
use flake
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then
|
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="
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w="
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue