mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
pythonPackages.Wand: Fix imagemagick path
This commit is contained in:
parent
9e6241ef69
commit
07c3f81aa6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue