Merge pull request #271137 from eth3lbert/lua-libmagickwand-ext

luaPackages.magick: fix libMagickWand-7.Q16HDRI path on darwin
This commit is contained in:
Weijia Wang 2023-12-01 08:52:29 +01:00 committed by GitHub
commit 625f9cfbe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -501,7 +501,7 @@ with prev;
postPatch = ''
substituteInPlace magick/wand/lib.lua \
--replace @nix_wand@ ${imagemagick}/lib/libMagickWand-7.Q16HDRI.so
--replace @nix_wand@ ${imagemagick}/lib/libMagickWand-7.Q16HDRI${stdenv.hostPlatform.extensions.sharedLibrary}
'';
# Requires ffi