graphviz: patch a regression in 5.0.1

The issue was breaking tests in python3Packages.*graphviz.
It's a big rebuild, but I think we should fix the regression
during this staging-next iteration.

/cc 5.0.1 PR: #188175

+9
+9
pkgs/tools/graphics/graphviz/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitLab 4 + , fetchpatch 4 5 , autoreconfHook 5 6 , pkg-config 6 7 , cairo ··· 37 38 rev = version; 38 39 sha256 = "sha256-lcU6Pb45kg7AxXQ9lmqwAazT2JpGjBz4PzK+S5lpYa0="; 39 40 }; 41 + 42 + patches = [ 43 + (fetchpatch { 44 + url = "https://gitlab.com/graphviz/graphviz/-/commit/8d662734b6a34709d9475b120e7ce3de872339e2.diff"; 45 + includes = [ "lib/*" ]; 46 + sha256 = "sha256-cqzUpK//2TnzWb7oSa/g8LJ61yr3O+Wiq5LsZzw34NE="; 47 + }) 48 + ]; 40 49 41 50 nativeBuildInputs = [ 42 51 autoreconfHook