From ad9a4d0d5ed5659ec186f3b08b78e40daf437721 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 15 Jun 2019 10:07:07 +0200 Subject: [PATCH] pythonPackages.pygal: fix build --- pkgs/development/python-modules/pygal/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pygal/default.nix b/pkgs/development/python-modules/pygal/default.nix index b0d533f5d68d..a3d6f6e4c21a 100644 --- a/pkgs/development/python-modules/pygal/default.nix +++ b/pkgs/development/python-modules/pygal/default.nix @@ -41,6 +41,10 @@ buildPythonPackage rec { export LANG=en_US.UTF-8 ''; + postPatch = '' + substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]" + ''; + propagatedBuildInputs = [ cairosvg tinycss cssselect ] ++ stdenv.lib.optionals (!isPyPy) [ lxml ];