pythonPackages.Wand: Fix imagemagick path
commit07c3f81aa600a5ba4f90f820659a0ba703384b47
authorSilvan Mosberger <infinisil@icloud.com>
dateMon 28 Jan 2019, 20:50 (8 years ago)
parent9e6241e
pkgs/development/python-modules/Wand/default.nix+3−1
@@ -28,7 +28,9 @@ in buildPythonPackage rec {
2828 inherit magick_wand_library imagemagick_library;
2929
3030 postPatch = ''
31− substituteAllInPlace wand/api.py
31+ substituteInPlace wand/api.py --replace \
32+ "magick_home = os.environ.get('MAGICK_HOME')" \
33+ "magick_home = '${imagemagick}'"
3234 '';
3335
3436 # tests not included with pypi release