python3Packages.ttfautohint-py: fix Darwin build (#365327)

authored by misuzu.tngl.sh and committed by GitHub 2ccc78c5 dd89086e

+2 -1
+2 -1
pkgs/development/python-modules/ttfautohint-py/default.nix
··· 1 { 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, ··· 24 25 postPatch = '' 26 substituteInPlace src/python/ttfautohint/__init__.py \ 27 - --replace-fail 'find_library("ttfautohint")' '"${lib.getLib ttfautohint}/lib/libttfautohint.so"' 28 ''; 29 30 env.TTFAUTOHINTPY_BUNDLE_DLL = false;
··· 1 { 2 + stdenv, 3 lib, 4 buildPythonPackage, 5 fetchFromGitHub, ··· 25 26 postPatch = '' 27 substituteInPlace src/python/ttfautohint/__init__.py \ 28 + --replace-fail 'find_library("ttfautohint")' '"${lib.getLib ttfautohint}/lib/libttfautohint${stdenv.hostPlatform.extensions.sharedLibrary}"' 29 ''; 30 31 env.TTFAUTOHINTPY_BUNDLE_DLL = false;