nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1breakpointHook() {
2 local red='\033[0;31m'
3 local no_color='\033[0m'
4
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"
8}
9failureHooks+=(breakpointHook)