Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify this if $HOME exists, it is owned by current user in getHome() #6676

Commits on Jun 17, 2022

  1. 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:
      NixOS#6622
    virusdave committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    ca2be50 View commit details
    Browse the repository at this point in the history