From 473997f01c46d5d75e8c33816f6122a7444bfb8e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 9 Apr 2007 23:29:00 +0000 Subject: [PATCH] * Work around a bad Perl interpreter path. svn path=/nixpkgs/trunk/; revision=8553 --- pkgs/misc/tex/nix/dot2pdf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/tex/nix/dot2pdf.sh b/pkgs/misc/tex/nix/dot2pdf.sh index 76cfbb49d283..65799a421347 100644 --- a/pkgs/misc/tex/nix/dot2pdf.sh +++ b/pkgs/misc/tex/nix/dot2pdf.sh @@ -7,7 +7,7 @@ dot2pdf() { targetName=$out/$(basename $(stripHash $sourceFile; echo $strippedName) .dot).pdf echo "converting $sourceFile to $targetName..." dot -Tps $sourceFile > tmp.ps - epstopdf --outfile $targetName tmp.ps + perl $(type -tp epstopdf) --outfile $targetName tmp.ps } for i in $dotGraph; do