mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
home-manager: skip manual in uninstall configuration
No need to spend time building a manual when doing the install. Also helps if the manual, for whatever reason, doesn't build.
This commit is contained in:
parent
f58889c07e
commit
729ab77f9e
1 changed files with 1 additions and 0 deletions
|
@ -798,6 +798,7 @@ function doUninstall() {
|
|||
echo "{ lib, ... }: {" > "$HOME_MANAGER_CONFIG"
|
||||
echo " home.file = lib.mkForce {};" >> "$HOME_MANAGER_CONFIG"
|
||||
echo " home.stateVersion = \"18.09\";" >> "$HOME_MANAGER_CONFIG"
|
||||
echo " manual.manpages.enable = false;" >> "$HOME_MANAGER_CONFIG"
|
||||
echo "}" >> "$HOME_MANAGER_CONFIG"
|
||||
doSwitch
|
||||
$DRY_RUN_CMD $REMOVE_CMD home-manager-path || true
|
||||
|
|
Loading…
Reference in a new issue