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
This commit is contained in:
Vladimír Čunát 2022-09-05 09:48:44 +02:00
parent 527502c9be
commit 52fd346837
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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