summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2007-10-19 08:00:38 +0000
committerMichael Raskin <7c6f434c@mail.ru>2007-10-19 08:00:38 +0000
commitdcb59e35419d9d6749478abc3a372181497fe241 (patch)
tree462d3981e8cf1fa4fb8fd35934419a0ef8f85c4b /pkgs/applications/networking
parent2a59b66914f46122153c1a7d2d9a624077befd54 (diff)
downloadnixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.tar
nixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.tar.gz
nixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.tar.bz2
nixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.tar.lz
nixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.tar.xz
nixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.tar.zst
nixpkgs-dcb59e35419d9d6749478abc3a372181497fe241.zip
Worked around fresh ImageMagick misfeature with dvi.
svn path=/nixpkgs/trunk/; revision=9475
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin-plugins/pidgin-latex/default.nix4
1 files changed, 3 insertions, 1 deletions
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)";