[Nix-dev] Updating dovecot

Marc Weber marco-oweber at gmx.de
Tue Oct 25 22:42:01 CEST 2011


Excerpts from Lluís Batlle i Rossell's message of Tue Oct 25 22:34:55 +0200 2011:
> I added dovecot 2.0 to nixpkgs, but did not overwrite the other. I'm not sure
> what to do with the nixos file; maybe create a new dovecot2 and leave dovecot?

nix does not support downgrading to older store formats trivially either.

creating a second module is always safest. Asking here is nice, too.

If there is no need to downgrade again there is no need to keep both
versions.

What could be done ? backup data if version changes.
How to detect version change? create a state file
echo $dovecot_version > /var/run/dovecot-version or such.
If that changes make backup and continue.. Then people can downgrade
again. But if the new version works this is overkill - thoughts?

Marc Weber


More information about the nix-dev mailing list