Makefile : Do not fail in fix-hm-root.

This commit is contained in:
Dmitry Voronin 2024-08-22 04:54:19 +03:00
parent 369e015023
commit 6413202319
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -20,8 +20,8 @@ check:
# HACK: https://github.com/nix-community/home-manager/issues/5589
fix-hm-root:
mv /etc/nix/nix.conf /etc/nix/nix.conf_
systemctl restart home-manager-root.service
mv /etc/nix/nix.conf /etc/nix/nix.conf_; \
systemctl restart home-manager-root.service; \
mv /etc/nix/nix.conf_ /etc/nix/nix.conf
install-nix: