Worked around fresh ImageMagick misfeature with dvi.
svn path=/nixpkgs/trunk/; revision=9475
This commit is contained in:
parent
2a59b66914
commit
dcb59e3541
1 changed files with 3 additions and 1 deletions
|
@ -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)";
|
||||
|
||||
|
|
Loading…
Reference in a new issue