1
0
Fork 0

Allow diff-system to fail

When upgrading from older systems with nix 2.3.x the command is not yet
understood. Since it is purely informational a failure can be safely
ignored.
This commit is contained in:
Sandro - 2022-08-21 22:44:05 +02:00
parent 2c4814b16d
commit 1dbe3569b2
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
text = ''
if [ -e /run/current-system ] && [ -e $systemConfig ]; then
echo System package diff:
${config.nix.package}/bin/nix store diff-closures /run/current-system $systemConfig
${config.nix.package}/bin/nix store diff-closures /run/current-system $systemConfig || true
fi
'';
};