- $ nimble uninstall nimx
- Info Hint: used config file '/home/bkerin/opt/nim-0.17.2/config/nim.cfg'
- [Conf]
- Warning: Package 'nimx' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'nimx', but file 'sample04_animation.nim' is in a directory named 'test' instead. This will be an error in the future.
- Hint: If 'test' contains source files for building 'nimx', rename it to 'nimx'. Otherwise, prevent its installation by adding skipDirs = @["test"] to the .nimble file.
- Looking for nimx (any version)
- Checking reverse dependencies
- Prompt: The following packages will be removed:
- ... nimx (0.1) ... Do you wish to continue? [y/N]
Answer: y
Warning: Cannot completely remove /home/bkerin/.nimble/pkgs/nimx-0.1. Files not installed by nimble are present.
- Warning: No .nimble or .nimble-link file found for /home/bkerin/.nimble/pkgs/nimx-0.1
- Removed nimx (0.1)
On subsequent attempts this warning doesn't show up:
- $ nimble uninstall nimx
- Looking for nimx (any version)
- Warning: No .nimble or .nimble-link file found for /home/bkerin/.nimble/pkgs/nimx-0.1
- Error: Package not found
In a way it would be nice if it did on subsequent, since my purpose in remove nimx was to be make sure it didn't have any possibly junk lying around from the previous build. The condition that triggers the original warning still exists: the dir is still there.