forked from mirrors/nixpkgs
stdenv: Turn on set -x
if NIX_DEBUG >= 6
Why 6? It seems a decently high number, giving us room for more degrees of debugging before the `set -x` sledgehammer without incurring a mass-rebuild.
This commit is contained in:
parent
127a5f3357
commit
f6fcb9bc0d
|
@ -1,6 +1,10 @@
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if (( "${NIX_DEBUG:-0}" >= 6 )); then
|
||||
set -x
|
||||
fi
|
||||
|
||||
: ${outputs:=out}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue