diff --git a/maintainers/scripts/dep-licenses.sh b/maintainers/scripts/dep-licenses.sh index 48c1efdeebc5..28ad22c334fc 100755 --- a/maintainers/scripts/dep-licenses.sh +++ b/maintainers/scripts/dep-licenses.sh @@ -17,7 +17,7 @@ trap "exitHandler" EXIT # fetch the trace and the drvPath of the attribute. nix-instantiate $NIXPKGS -A $attr --show-trace > "$tmp/drvPath" 2> "$tmp/trace" || { cat 1>&2 - "$tmp/trace" <&2 + echo "warning: error(s) occurred while switching to the new configuration" >&2 exit 1 fi fi