Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
9 lines
368 B
Bash
9 lines
368 B
Bash
breakpointHook() {
|
|
local red='\033[0;31m'
|
|
local no_color='\033[0m'
|
|
|
|
echo -e "${red}build failed in ${curPhase} with exit code ${exitCode}${no_color}"
|
|
printf "To attach install cntr and run the following command as root:\n\n"
|
|
sh -c "echo ' cntr attach -t command cntr-${out}'; while true; do sleep 99999999; done"
|
|
}
|
|
failureHooks+=(breakpointHook)
|