From 9bc65712570410c304d9667dd5faccc90fdb83ce Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 28 May 2016 17:42:07 +0200 Subject: 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 --- modules/user/aszlig/services/slim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user') 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 \ -- cgit 1.4.1