diff options
author | Artturin <Artturin@artturin.com> | 2023-01-16 23:33:55 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-01-16 23:54:14 +0200 |
commit | e525ae1e1e1a991d27346ef072b5efcfe9236cca (patch) | |
tree | db9205de25b846672cee0c7cdf204ca876eabd73 /pkgs/stdenv | |
parent | f2c27018f067d9e664c6bac5200f1ef980fc8a93 (diff) |
stdenv: disable shellcheck rule SC2068 & SC1091
this is intentional to support both structuredAttrs and non In pkgs/stdenv/generic/setup.sh line 614: for pkg in ${depsBuildBuild[@]} ${depsBuildBuildPropagated[@]}; do ^------------------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In pkgs/stdenv/generic/setup.sh line 521: local varRef="$varVar[$((targetOffset - hostOffset))]" ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/generic/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index a283ba25dd91f..1d95c65718b82 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,2048 +# shellcheck disable=1090,2154,2123,2034,2178,2048,2068,1091 __nixpkgs_setup_set_original=$- set -eu set -o pipefail |