aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorDave Nicponski <dave.nicponski@gmail.com>2022-06-15 16:38:56 -0400
committerDave Nicponski <dave.nicponski@gmail.com>2022-06-17 17:42:08 -0400
commitca2be509b96a10a2035039a825fc2b292ec0ad4d (patch)
treec2966d459cc8b1c606deb4af5f1a7b98fa6e2b89 /flake.nix
parent9f58df4c91007aa9f4eb701fd6667ac3ed39c8fa (diff)
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: https://github.com/NixOS/nix/pull/6622
Diffstat (limited to 'flake.nix')
0 files changed, 0 insertions, 0 deletions