python311Packages.moto: 4.2.6 -> 4.2.10
[NixPkgs.git] / pkgs / build-support / setup-hooks / breakpoint-hook.sh
blob6bef786ac3ac655e08d97e0a57bfd6b5a87b5c8d
1 breakpointHook() {
2 local red='\033[0;31m'
3 local no_color='\033[0m'
5 echo -e "${red}build failed in ${curPhase} with exit code ${exitCode}${no_color}"
6 printf "To attach install cntr and run the following command as root:\n\n"
7 sh -c "echo ' cntr attach -t command cntr-${out}'; while true; do sleep 99999999; done"
9 failureHooks+=(breakpointHook)