diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2007-10-19 08:00:38 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2007-10-19 08:00:38 +0000 |
commit | dcb59e35419d9d6749478abc3a372181497fe241 (patch) | |
tree | 462d3981e8cf1fa4fb8fd35934419a0ef8f85c4b /pkgs/applications/networking | |
parent | 2a59b66914f46122153c1a7d2d9a624077befd54 (diff) |
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.nix | 4 |
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 9358d4c528a15..fa6e123c45b73 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)"; |