modules/darwin/common/upgrade-diff: postActivation -> preActivation
This commit is contained in:
parent
e89c8ac698
commit
430555b4ae
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# set $HOME to avoid 'warning: $HOME is not owned by you'
|
||||
# https://github.com/NixOS/nix/issues/6834
|
||||
# srvos
|
||||
system.activationScripts.postActivation.text = ''
|
||||
system.activationScripts.preActivation.text = ''
|
||||
if [[ -e /run/current-system ]]; then
|
||||
echo "--- diff to current-system"
|
||||
HOME=/var/root ${config.nix.package}/bin/nix --extra-experimental-features nix-command store diff-closures /run/current-system "$systemConfig"
|
||||
|
|
Loading…
Add table
Reference in a new issue