summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-09-26 20:59:07 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-09-26 21:07:06 +0200
commit603b73f1e13399730648374d78d63d715d6bb617 (patch)
tree614f99347c3781c46138ad9e864e21e423909e7a /nixos/modules
parentb6f3e0801944320144eec5adb1499143317c28da (diff)
downloadnixlib-603b73f1e13399730648374d78d63d715d6bb617.tar
nixlib-603b73f1e13399730648374d78d63d715d6bb617.tar.gz
nixlib-603b73f1e13399730648374d78d63d715d6bb617.tar.bz2
nixlib-603b73f1e13399730648374d78d63d715d6bb617.tar.lz
nixlib-603b73f1e13399730648374d78d63d715d6bb617.tar.xz
nixlib-603b73f1e13399730648374d78d63d715d6bb617.tar.zst
nixlib-603b73f1e13399730648374d78d63d715d6bb617.zip
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)
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/offlineimap.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/offlineimap.nix b/nixos/modules/services/networking/offlineimap.nix
index daf6196d3706..85ece020905b 100644
--- a/nixos/modules/services/networking/offlineimap.nix
+++ b/nixos/modules/services/networking/offlineimap.nix
@@ -59,7 +59,7 @@ in {
       };
       path = cfg.path;
     };
-    environment.systemPackages = [ "${cfg.package}" ];
+    environment.systemPackages = [ cfg.package ];
     systemd.user.timers.offlineimap = {
       description = "offlineimap timer";
       timerConfig               = {