pythonPackages.Wand: Fix imagemagick path

This commit is contained in:
Silvan Mosberger 2019-01-28 20:50:24 +01:00
parent 9e6241ef69
commit 07c3f81aa6
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7

View file

@ -28,7 +28,9 @@ in buildPythonPackage rec {
inherit magick_wand_library imagemagick_library;
postPatch = ''
substituteAllInPlace wand/api.py
substituteInPlace wand/api.py --replace \
"magick_home = os.environ.get('MAGICK_HOME')" \
"magick_home = '${imagemagick}'"
'';
# tests not included with pypi release