forked from c3d2/nix-config
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:
parent
2c4814b16d
commit
1dbe3569b2
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue