Skip to content

Commit

Permalink
stdenv: disable shellcheck rule SC2048
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Artturin committed Jan 16, 2023
1 parent 4db439c commit e58785b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/stdenv/generic/setup.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e58785b

Please sign in to comment.