diff options
author | John Ericson <Ericson2314@yahoo.com> | 2017-09-26 14:05:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 14:05:00 -0400 |
commit | 87067dc471a1592f4933f283648eb52a99f096b5 (patch) | |
tree | 22d4cd75fa7ff727968edace375d876e5b703d8a /pkgs/build-support/cc-wrapper/utils.sh | |
parent | 332dc7c719f805812eb5f33ab3e4670bb5b10d69 (diff) | |
parent | 0d3d2a01d20d88dde3696ead43c557c1f3043ee7 (diff) | |
download | nixlib-87067dc471a1592f4933f283648eb52a99f096b5.tar nixlib-87067dc471a1592f4933f283648eb52a99f096b5.tar.gz nixlib-87067dc471a1592f4933f283648eb52a99f096b5.tar.bz2 nixlib-87067dc471a1592f4933f283648eb52a99f096b5.tar.lz nixlib-87067dc471a1592f4933f283648eb52a99f096b5.tar.xz nixlib-87067dc471a1592f4933f283648eb52a99f096b5.tar.zst nixlib-87067dc471a1592f4933f283648eb52a99f096b5.zip |
Merge pull request #29580 from obsidiansystems/stdenv-super-debug
stdenv: Provide a way for full `set -x` debugging
Diffstat (limited to 'pkgs/build-support/cc-wrapper/utils.sh')
-rw-r--r-- | pkgs/build-support/cc-wrapper/utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/cc-wrapper/utils.sh b/pkgs/build-support/cc-wrapper/utils.sh index c84a094e26b0..c43c2e12d74a 100644 --- a/pkgs/build-support/cc-wrapper/utils.sh +++ b/pkgs/build-support/cc-wrapper/utils.sh @@ -1,5 +1,5 @@ skip () { - if [ -n "${NIX_DEBUG:-}" ]; then + if (( "${NIX_DEBUG:-0}" >= 1 )); then echo "skipping impure path $1" >&2 fi } |