Merge pull request #130601 from happysalada/stdenv_cosmetic

Stdenv cosmetic

Changed files
+2 -1
pkgs
build-support
setup-hooks
stdenv
generic
+1
pkgs/build-support/setup-hooks/auto-patchelf.sh
···
isExeResult="$(LANG=C $READELF -h -l "$1" 2> /dev/null \
| grep '^ *Type: *EXEC\>\|^ *INTERP\>')"
# not using grep -q, because it can cause Broken pipe
+
# https://unix.stackexchange.com/questions/305547/broken-pipe-when-grepping-output-but-only-with-i-flag
[ -n "$isExeResult" ]
}
+1 -1
pkgs/stdenv/generic/setup.sh
···
# build platform are included here. That would be `depsBuild*`,
# and legacy `nativeBuildInputs`, in general. If we aren't cross
# compiling, however, everything can be put on the PATH. To ease
-
# the transition, we do include everything in thatcase.
+
# the transition, we do include everything in that case.
#
# TODO(@Ericson2314): Don't special-case native compilation
if [[ -z "${strictDeps-}" || "$hostOffset" -le -1 ]]; then