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
|
fi
|
||||||
|
|
||||||
info "running nix-build..."
|
info "running nix-build..."
|
||||||
echo "using these flags: ${args[@]}" >&2
|
echo "using the following invocation:" >&2
|
||||||
|
set -x
|
||||||
exec nix-build "${args[@]}" "${extraArgs[@]}"
|
nix-build "${args[@]}" "${extraArgs[@]}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in a new issue