Merge branch 'graphviz-vimdot-fix' of git://github.com/bjornfor/nixpkgs

Branch contains a trivial fix.

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-03-10 22:06:04 -04:00
commit 86aa2853f6

View file

@ -32,8 +32,10 @@ stdenv.mkDerivation rec {
sed -e 's@am__append_5 *=.*@am_append_5 =@' -i lib/gvc/Makefile
'';
# "command -v" is POSIX, "which" is not
postInstall = ''
sed -i 's|`which lefty`|"'$out'/bin/lefty"|' $out/bin/dotty
sed -i 's|which|command -v|' $out/bin/vimdot
'';
meta = {