From e58785bf417dbb62611795a0187240600cc8685c Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 16 Jan 2023 08:13:40 +0200 Subject: [PATCH] stdenv: disable shellcheck rule SC2048 we use [*] to support structuredAttrs and non In pkgs/stdenv/generic/setup.sh line 1542: for curPhase in ${phases[*]}; do ^----------^ SC2048 (warning): Use "${array[@]}" (with quotes) to prevent whitespace problems. --- pkgs/stdenv/generic/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 89a0dc1112d8..7e4c5edbc869 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -1,5 +1,5 @@ # shellcheck shell=bash -# shellcheck disable=1090,2154,2123,2034,2178 +# shellcheck disable=1090,2154,2123,2034,2178,2048 __nixpkgs_setup_set_original=$- set -eu set -o pipefail