From c694cdf4b429e905fb596e54c07c821fc18a4303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 8 Jul 2024 16:19:38 +0200 Subject: [PATCH] add shellcheck hints to all envrc files --- .envrc | 1 + docs/.envrc | 1 + lib/inventory/.envrc | 1 + pkgs/clan-app/.envrc | 1 + pkgs/clan-cli/.envrc | 1 + pkgs/webview-ui/.envrc | 1 + 6 files changed, 6 insertions(+) diff --git a/.envrc b/.envrc index 18a7568fb..3c82a70c8 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash 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=" fi diff --git a/docs/.envrc b/docs/.envrc index ffe12138f..484fbdf91 100644 --- a/docs/.envrc +++ b/docs/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash source_up watch_file $(find ./nix -name "*.nix" -printf '%p ') diff --git a/lib/inventory/.envrc b/lib/inventory/.envrc index 8d1c6842b..22103077a 100644 --- a/lib/inventory/.envrc +++ b/lib/inventory/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash source_up watch_file flake-module.nix diff --git a/pkgs/clan-app/.envrc b/pkgs/clan-app/.envrc index 77e116591..9e53834ae 100644 --- a/pkgs/clan-app/.envrc +++ b/pkgs/clan-app/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash source_up watch_file flake-module.nix shell.nix default.nix diff --git a/pkgs/clan-cli/.envrc b/pkgs/clan-cli/.envrc index 24d9f311e..85cfcabdb 100644 --- a/pkgs/clan-cli/.envrc +++ b/pkgs/clan-cli/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash source_up watch_file flake-module.nix shell.nix default.nix diff --git a/pkgs/webview-ui/.envrc b/pkgs/webview-ui/.envrc index f0f92bedf..8e53fd246 100644 --- a/pkgs/webview-ui/.envrc +++ b/pkgs/webview-ui/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash source_up watch_file flake-module.nix default.nix