fetchgit: be more verbose
This commit is contained in:
parent
2e6221e095
commit
a841d3fcbf
@ -20,6 +20,7 @@ dirty=$(nixos-query nixpkgs.dirty)
|
|||||||
|
|
||||||
case $dirty in true)
|
case $dirty in true)
|
||||||
ln -snf "$git_url" "$out_link"
|
ln -snf "$git_url" "$out_link"
|
||||||
|
echo "fetchgit: using $git_url as it is" >&2
|
||||||
exit
|
exit
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -83,3 +84,5 @@ if test "$(dirname "$work_dir")" = "$(dirname "$out_link")"; then
|
|||||||
else
|
else
|
||||||
ln -snf "$work_dir" "$out_link"
|
ln -snf "$work_dir" "$out_link"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "fetchgit: using $git_url $(work_git log --oneline -n1)" >&2
|
||||||
|
Loading…
Reference in New Issue
Block a user