When installing I read: "warning: be sure to add `/var/tmp/portage/sys-apps/bat-0.17.1-r1/image/usr/bin` to your PATH to be able to run the installed binaries" This makes no sense. PATH should not point to /var/tmp Reproducible: Always
https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_install.rs if installed_anything { // Print a warning that if this directory isn't in PATH that they won't be // able to run these commands. let dst = root.join("bin").into_path_unlocked(); let path = env::var_os("PATH").unwrap_or_default(); for path in env::split_paths(&path) { if path == dst { return Ok(()); } } totally harmless, just checks if the installed binaries are in path. since we install to temporary directory - it's not in path and always triggers warning and not easy to disable without patching. all rust/cargo packages have this warning.