diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index 924ac901f6a8..ad263b86e1fd 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -27,14 +27,14 @@ let in stdenv.mkDerivation { pname = "graphviz"; - version = "2.50.0"; + version = "3.0.0"; src = fetchFromGitLab { owner = "graphviz"; repo = "graphviz"; # use rev as tags have disappeared before - rev = "ca43e4c6a217650447e2928c2e9cb493c73ebd7d"; - sha256 = "1psfgr8y4hh9yyzl04f7xbqb2y9k1xbja051j6b06q9dx7bmkmky"; + rev = "24cf7232bb8728823466e0ef536862013893e567"; + sha256 = "sha256-qqrpCJ9WP8wadupp4YRJMMaSCeFIDuFDQvEOpbG/wGM="; }; nativeBuildInputs = [ @@ -88,8 +88,8 @@ stdenv.mkDerivation { postFixup = optionalString withXorg '' substituteInPlace $out/bin/dotty --replace '`which lefty`' $out/bin/lefty substituteInPlace $out/bin/vimdot \ - --replace /usr/bin/vi '$(command -v vi)' \ - --replace /usr/bin/vim '$(command -v vim)' \ + --replace '"/usr/bin/vi"' '"$(command -v vi)"' \ + --replace '"/usr/bin/vim"' '"$(command -v vim)"' \ --replace /usr/bin/vimdot $out/bin/vimdot \ '';