sane module: make warning more explicit

This commit is contained in:
Guillaume Maudoux 2020-02-10 17:28:37 +01:00
parent 6c651604f4
commit 4979541cad

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation {
function symlink () {
local target=$1 linkname=$2
if [ -e "$linkname" ]; then
echo "warning: conflict for $linkname. Overriding."
echo "warning: conflict for $linkname. Overriding $(readlink $linkname) with $target."
fi
ln -sfn "$target" "$linkname"
}