forked from lix-project/hydra
Merge pull request #885 from mcsaucy/patch-1
Make nix-build args copy-pastable via `set -x`
This commit is contained in:
commit
1f4183e05f
|
@ -210,10 +210,9 @@ if [ -n "$printFlags" ]; then
|
|||
fi
|
||||
|
||||
info "running nix-build..."
|
||||
echo "using these flags: ${args[@]}" >&2
|
||||
|
||||
exec nix-build "${args[@]}" "${extraArgs[@]}"
|
||||
|
||||
echo "using the following invocation:" >&2
|
||||
set -x
|
||||
nix-build "${args[@]}" "${extraArgs[@]}"
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
Loading…
Reference in a new issue