mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 03:59:46 +01:00
9865e3ce29
With --ignore-fail-on-non-empty, non-emptiness is the only failure
that gets ignored by rmdir. In the case that rmdir reaches $HOME and
considers deleting it, it will detect insufficient permissions and
subsequently exit with an error, even if $HOME is not empty.
Prevent this by calling rmdir with a relative path that excludes
$HOME.
(cherry picked from commit
|
||
---|---|---|
.. | ||
lib | ||
lib-bash | ||
misc | ||
programs | ||
services | ||
default.nix | ||
home-environment.nix | ||
manual.nix | ||
systemd.nix | ||
xresources.nix | ||
xsession.nix |