# Extends the frappix app scope with in-house frappe apps. # Must be applied after frappixFrappeOverlay (needs prev.frappix). final: prev: { frappix = prev.frappix.overrideScope ( ffinal: fprev: { default_thai_company = ffinal.callPackage ./default-thai-company.nix { }; # insights' after_migrate hook opens the "Site DB" data source via # ibis.mysql, whose backend imports MySQLdb (mysqlclient) since ibis 10. # Upstream frappix only ships ibis-framework without the mysql extra. insights = fprev.insights.overridePythonAttrs (old: { dependencies = old.dependencies ++ [ final.python3.pkgs.mysqlclient ]; }); } ); }