Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify
$HOME
is owned by current user in getHome()
, if it exists.
Useful because a default `sudo` on darwin doesn't clear `$HOME`, so things like `sudo nix-channel --list` will surprisingly return the USER'S channels, rather than `root`'s. Other counterintuitive outcomes can be seen in this PR description: #6622
- Loading branch information