···7474if [ -z "$newHash" ]; then
7575 nix-build --no-out-link -A "$attr.src" 2>"$attr.fetchlog" >/dev/null || true
7676 # FIXME: use nix-build --hash here once https://github.com/NixOS/nix/issues/1172 is fixed
7777- newHash=$(egrep -v "killing process|dependencies couldn't be built" "$attr.fetchlog" | tail -n2 | sed "s~output path .* has .* hash \(.*\) when .* was expected|fixed-output derivation produced path '.*' with .* hash '\(.*\)' instead of the expected hash '.*'~\1\2~" | head -n1)
7777+ newHash=$(egrep -v "killing process|dependencies couldn't be built" "$attr.fetchlog" | tail -n2 | sed "s~output path .* has .* hash \(.*\) when .* was expected\|fixed-output derivation produced path '.*' with .* hash '\(.*\)' instead of the expected hash '.*'~\1\2~" | head -n1)
7878fi
79798080if [ -z "$newHash" ]; then