about summary refs log tree commit diff
path: root/pkgs/tools/graphics/graphviz
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2022-09-05 09:48:44 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2022-09-05 09:52:35 +0200
commit52fd3468374dab2e2b693846f4fb065182936084 (patch)
tree699d7ebb7ee9d991c5e50225ae9ee377c67556eb /pkgs/tools/graphics/graphviz
parent527502c9beef3d71f0f14a1ce83a7b158d47ed08 (diff)
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
Diffstat (limited to 'pkgs/tools/graphics/graphviz')
-rw-r--r--pkgs/tools/graphics/graphviz/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix
index 2915474735fe0..104167c6d7212 100644
--- a/pkgs/tools/graphics/graphviz/default.nix
+++ b/pkgs/tools/graphics/graphviz/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitLab
+, fetchpatch
 , autoreconfHook
 , pkg-config
 , cairo
@@ -38,6 +39,14 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-lcU6Pb45kg7AxXQ9lmqwAazT2JpGjBz4PzK+S5lpYa0=";
   };
 
+  patches = [
+    (fetchpatch {
+      url = "https://gitlab.com/graphviz/graphviz/-/commit/8d662734b6a34709d9475b120e7ce3de872339e2.diff";
+      includes = [ "lib/*" ];
+      sha256 = "sha256-cqzUpK//2TnzWb7oSa/g8LJ61yr3O+Wiq5LsZzw34NE=";
+    })
+  ];
+
   nativeBuildInputs = [
     autoreconfHook
     pkg-config