graphviz: Hard-code lefty's path in dotty

svn path=/nixpkgs/trunk/; revision=33317
This commit is contained in:
Shea Levy 2012-03-20 23:27:12 +00:00
parent f682391220
commit 3b48b8ffc4

@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
sed -e 's@am__append_5 *=.*@am_append_5 =@' -i lib/gvc/Makefile
'';
postInstall = ''
sed -i 's|`which lefty`|"'$out'/bin/lefty"|' $out/bin/dotty
'';
meta = {
description = "A program for visualising graphs";
homepage = http://www.graphviz.org/;