about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorVictor Engmark <victor@engmark.name>2021-11-26 18:54:23 +1300
committerVictor Engmark <victor@engmark.name>2021-11-26 18:54:23 +1300
commitadb8f5c858665d4e7f5cc85dc99d25c8b3395bf9 (patch)
treec97bb945a09acca4d693c6527c0fb3f58c912fbe /nixos/modules
parent02cea625b00fec97ffc5da1a3e992db05b624696 (diff)
downloadnixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.tar
nixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.tar.gz
nixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.tar.bz2
nixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.tar.lz
nixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.tar.xz
nixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.tar.zst
nixlib-adb8f5c858665d4e7f5cc85dc99d25c8b3395bf9.zip
nixos/installer: Mark scripts as Bash for ShellCheck
See <https://github.com/koalaman/shellcheck/wiki/SC2239>.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/installer/tools/nixos-build-vms/nixos-build-vms.sh1
-rw-r--r--nixos/modules/installer/tools/nixos-enter.sh1
-rw-r--r--nixos/modules/installer/tools/nixos-install.sh1
-rw-r--r--nixos/modules/installer/tools/nixos-version.sh1
4 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/nixos-build-vms/nixos-build-vms.sh b/nixos/modules/installer/tools/nixos-build-vms/nixos-build-vms.sh
index 2a6c3ab11497..ed167b389d03 100644
--- a/nixos/modules/installer/tools/nixos-build-vms/nixos-build-vms.sh
+++ b/nixos/modules/installer/tools/nixos-build-vms/nixos-build-vms.sh
@@ -1,4 +1,5 @@
 #! @runtimeShell@ -e
+# shellcheck shell=bash
 
 # Shows the usage of this command to the user
 
diff --git a/nixos/modules/installer/tools/nixos-enter.sh b/nixos/modules/installer/tools/nixos-enter.sh
index 00883205e8b5..6469d9faa038 100644
--- a/nixos/modules/installer/tools/nixos-enter.sh
+++ b/nixos/modules/installer/tools/nixos-enter.sh
@@ -1,4 +1,5 @@
 #! @runtimeShell@
+# shellcheck shell=bash
 
 set -e
 
diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh
index 135ee1305f12..fc4a69aa17d3 100644
--- a/nixos/modules/installer/tools/nixos-install.sh
+++ b/nixos/modules/installer/tools/nixos-install.sh
@@ -1,4 +1,5 @@
 #! @runtimeShell@
+# shellcheck shell=bash
 
 set -e
 shopt -s nullglob
diff --git a/nixos/modules/installer/tools/nixos-version.sh b/nixos/modules/installer/tools/nixos-version.sh
index f5e3f32b3c63..59a9c572b418 100644
--- a/nixos/modules/installer/tools/nixos-version.sh
+++ b/nixos/modules/installer/tools/nixos-version.sh
@@ -1,4 +1,5 @@
 #! @runtimeShell@
+# shellcheck shell=bash
 
 case "$1" in
   -h|--help)