Merge pull request #121921 from dotlambda/graphite-web-scandir
python3Packages.graphite-web: fix build
This commit is contained in:
commit
713a95e5d5
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue