about summary refs log tree commit diff
path: root/modules/user
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-05-28 17:42:07 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-05-28 17:42:07 +0200
commit9bc65712570410c304d9667dd5faccc90fdb83ce (patch)
tree47419049b948d660b53f95b20e57feba1e4d44d6 /modules/user
parent607fe7f266d2d8ffc076814011b67c37dce75bc6 (diff)
modules/slim: Fix imagemagick/mogrify invocation
Since NixOS/nixpkgs@73f1f5e, we have to refer to imagemagick.out for the
binaries, because we otherwise end up with the .dev output.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/aszlig/services/slim/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/aszlig/services/slim/default.nix b/modules/user/aszlig/services/slim/default.nix
index e5dea220..6e61912a 100644
--- a/modules/user/aszlig/services/slim/default.nix
+++ b/modules/user/aszlig/services/slim/default.nix
@@ -20,10 +20,10 @@ in {
         headFactor = if randrHeads == [] then 1 else lib.length randrHeads;
         centerLeft = 100 / (headFactor * 2);
       in ''
-        ${pkgs.imagemagick}/bin/mogrify \
+        "${pkgs.imagemagick.out}/bin/mogrify" \
           -fill '#080010' -draw 'color 0,0 reset' \
           share/slim/themes/nixos-slim-testing/background.png
-        ${pkgs.imagemagick}/bin/mogrify \
+        "${pkgs.imagemagick.out}/bin/mogrify" \
           -negate -region 100x110+0+0 -negate -fill white -colorize 20% \
           share/slim/themes/nixos-slim-testing/panel.png
         sed -i \