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