mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
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).
This commit is contained in:
parent
f2c27018f0
commit
e525ae1e1e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue