From dcb59e35419d9d6749478abc3a372181497fe241 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 19 Oct 2007 08:00:38 +0000 Subject: [PATCH] Worked around fresh ImageMagick misfeature with dvi. svn path=/nixpkgs/trunk/; revision=9475 --- .../pidgin-plugins/pidgin-latex/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix index 9358d4c528a..fa6e123c45b 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix @@ -10,7 +10,9 @@ stdenv.mkDerivation { preBuild = "sed -e '/^PREFIX/d' -i Makefile ; sed -e 's@/bin/bash@/var/run/current-system/sw&@; s@/dev/stdin@/proc/self/fd/0@' -i pidgin-latex-convert.sh; - sed -e 's@^latex.*@& ; if let \$?; then rm /tmp/pidgin-latex-tmp.png; exit 1; fi; @' -i pidgin-latex-convert.sh ; "; + sed -e 's@^latex.*@pdf& ; if let \$?; then rm /tmp/pidgin-latex-tmp.png; exit 1; fi; @' -i pidgin-latex-convert.sh ; + sed -e 's@[.]dvi@.pdf@' -i pidgin-latex-convert.sh; + "; makeFlags="PREFIX=\$(out)";