install_same_dir

Diagnostic `nanook::cli::install_same_dir`

Summary

source and destination are the same directory

Help

nanook is already at {0} : nothing to do

Details

When this fires

nanook install figured out that the source binary and the destination are the same file: you're trying to install nanook on top of itself. The path in the message is that shared directory. Nothing to do, you're already there.

What to check

If you actually wanted to update an installed copy from a build dir, run install from that build dir, not from the installed binary:

cd /path/to/nanook/checkout
cargo run --release -- install --force

Or pass --to to a different directory:

nanook install --to ~/.local/bin