about summary refs log tree commit diff
path: root/pkgs/tools/graphics/graphviz
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2012-03-20 23:27:12 +0000
committerShea Levy <shea@shealevy.com>2012-03-20 23:27:12 +0000
commit3b48b8ffc498a4bca32b42f76b231c68aac3763e (patch)
treeeeb41a7039f8abe6f6e1df3c75915b62885b1e91 /pkgs/tools/graphics/graphviz
parentf682391220abffa9b844fe6aba46f64cec98d866 (diff)
downloadnixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.tar
nixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.tar.gz
nixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.tar.bz2
nixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.tar.lz
nixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.tar.xz
nixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.tar.zst
nixlib-3b48b8ffc498a4bca32b42f76b231c68aac3763e.zip
graphviz: Hard-code lefty's path in dotty
svn path=/nixpkgs/trunk/; revision=33317
Diffstat (limited to 'pkgs/tools/graphics/graphviz')
-rw-r--r--pkgs/tools/graphics/graphviz/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix
index 678744ad5bbc..c070a73d1f19 100644
--- a/pkgs/tools/graphics/graphviz/default.nix
+++ b/pkgs/tools/graphics/graphviz/default.nix
@@ -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/;