git.iko.soy/typeable/nixpkgs
on master help sign in
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)

commit603b73f1e13399730648374d78d63d715d6bb617 authoraszlig <aszlig@redmoonstudios.org> dateMon 26 Sep 2016, 20:59 (10 years ago) parentb6f3e08
1 file changed+1−1
nixos/modules/services/networking/offlineimap.nix+1−1
nixos/modules/services/networking/offlineimap.nix+1−1
@@ -59,7 +59,7 @@ in {
5959 };
6060 path = cfg.path;
6161 };
62− environment.systemPackages = [ "${cfg.package}" ];
62+ environment.systemPackages = [ cfg.package ];
6363 systemd.user.timers.offlineimap = {
6464 description = "offlineimap timer";
6565 timerConfig = {