1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06:01 +01:00

shellcheck fix: tests/functional/simple.builder.sh

This commit is contained in:
Farid Zakaria 2025-09-30 20:18:48 -07:00
parent 7266a51412
commit 8c9bfb6e12
2 changed files with 2 additions and 1 deletions

View file

@ -106,7 +106,6 @@
enable = true;
excludes = [
# We haven't linted these files yet
''^tests/functional/simple\.builder\.sh$''
''^tests/functional/supplementary-groups\.sh$''
''^tests/functional/toString-path\.sh$''
''^tests/functional/user-envs-migration\.sh$''

View file

@ -6,7 +6,9 @@ echo "PATH=$PATH"
if mkdir foo 2> /dev/null; then exit 1; fi
# Set a PATH (!!! impure).
# shellcheck disable=SC2154
export PATH=$goodPath
# shellcheck disable=SC2154
mkdir "$out"
echo "Hello World!" > "$out"/hello