summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-03-10 22:06:04 -0400
committerShea Levy <shea@shealevy.com>2013-03-10 22:06:04 -0400
commit86aa2853f644f2f65cc793de6673a4a627b64752 (patch)
treeb97dd2ff2f9bd628e44148a15d46392fd5bdc7ac /pkgs/tools
parent1c861818578cf221c4b9ccb35164871b00d9b235 (diff)
parent74d631502439ec4e17182e0e812eb030e729dc6c (diff)
downloadnixlib-86aa2853f644f2f65cc793de6673a4a627b64752.tar
nixlib-86aa2853f644f2f65cc793de6673a4a627b64752.tar.gz
nixlib-86aa2853f644f2f65cc793de6673a4a627b64752.tar.bz2
nixlib-86aa2853f644f2f65cc793de6673a4a627b64752.tar.lz
nixlib-86aa2853f644f2f65cc793de6673a4a627b64752.tar.xz
nixlib-86aa2853f644f2f65cc793de6673a4a627b64752.tar.zst
nixlib-86aa2853f644f2f65cc793de6673a4a627b64752.zip
Merge branch 'graphviz-vimdot-fix' of git://github.com/bjornfor/nixpkgs
Branch contains a trivial fix.

Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/graphics/graphviz/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix
index 96ae324b01f0..a5d2d20968a8 100644
--- a/pkgs/tools/graphics/graphviz/default.nix
+++ b/pkgs/tools/graphics/graphviz/default.nix
@@ -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 = {