Merge pull request #121921 from dotlambda/graphite-web-scandir

python3Packages.graphite-web: fix build
This commit is contained in:
lsix
2021-05-08 22:05:32 +01:00
committed by GitHub

View File

@@ -28,6 +28,12 @@ buildPythonPackage rec {
./update-django-tagging.patch
];
postPatch = ''
# https://github.com/graphite-project/graphite-web/pull/2701
substituteInPlace setup.py \
--replace "'scandir'" "'scandir; python_version < \"3.5\"'"
'';
propagatedBuildInputs = [
django
memcached