add shellcheck hints to all envrc files

This commit is contained in:
Jörg Thalheim
2024-07-08 16:19:38 +02:00
parent 29616a8b5d
commit 9e6d5124ad
6 changed files with 6 additions and 0 deletions

1
.envrc
View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=" source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
fi fi

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
source_up source_up
watch_file $(find ./nix -name "*.nix" -printf '%p ') watch_file $(find ./nix -name "*.nix" -printf '%p ')

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
source_up source_up
watch_file flake-module.nix watch_file flake-module.nix

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
source_up source_up
watch_file flake-module.nix shell.nix default.nix watch_file flake-module.nix shell.nix default.nix

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
source_up source_up
watch_file flake-module.nix shell.nix default.nix watch_file flake-module.nix shell.nix default.nix

View File

@@ -1,3 +1,4 @@
# shellcheck shell=bash
source_up source_up
watch_file flake-module.nix default.nix watch_file flake-module.nix default.nix