nixos/offlineimap: Don't build the package on eval

Coercing the derivation to string causes the package to be built during
evaluation rather than during actual realization which is completely
unnecessary because we don't need additional Nix expression information
for the package (nor do we need it for the service).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @DamienCassou
Cc: @Profpatsch (stumbled on this because of him)
This commit is contained in:
aszlig
2016-09-26 20:59:07 +02:00
parent b6f3e08019
commit 603b73f1e1

View File

@@ -59,7 +59,7 @@ in {
};
path = cfg.path;
};
environment.systemPackages = [ "${cfg.package}" ];
environment.systemPackages = [ cfg.package ];
systemd.user.timers.offlineimap = {
description = "offlineimap timer";
timerConfig = {