ocrfeeder: fix build

This commit is contained in:
wxt 2024-11-12 21:38:24 +08:00
parent 39959e10a8
commit dcc7d30300
No known key found for this signature in database
GPG Key ID: F62181757D8BF693

View File

@ -35,6 +35,13 @@ stdenv.mkDerivation (finalAttrs: {
gobject-introspection
];
postPatch = ''
substituteInPlace configure \
--replace-fail "import imp" "import importlib.util" \
--replace-fail "imp.find_module" "importlib.util.find_spec" \
--replace-fail "distutils" "setuptools._distutils"
'';
buildInputs = [
gtk3
goocanvas2