frappix: bump to 474adcf, drop insights mysqlclient override
Upstream now ships mysqlclient with insights (kurogeek/frappix 474adcf).
This commit is contained in:
1 parent
9c5250873c
commit
d3d6ff63f1
2 files changed
+4
-11
No files matched your search
Generated
+3
-3
@@ -464,11 +464,11 @@
|
|||||||
"std": "std"
|
"std": "std"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1789106589,
|
"lastModified": 1793940934,
|
||||||
"narHash": "sha256-RMQdAvDaa4eUcdePDqUGAhnyTtzKxc6a8abauy8bzb0=",
|
"narHash": "sha256-upFVzpfpKUqk52/daFyoRaFmJ5kQ3k3X4a4AY9fHrjU=",
|
||||||
"owner": "kurogeek",
|
"owner": "kurogeek",
|
||||||
"repo": "frappix",
|
"repo": "frappix",
|
||||||
"rev": "dbfa76d84df6354bd7528c9d0c407387f66c3e33",
|
"rev": "474adcf78b4438bc68f300be8b5732be638694e1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -2,15 +2,8 @@
|
|||||||
# Must be applied after frappixFrappeOverlay (needs prev.frappix).
|
# Must be applied after frappixFrappeOverlay (needs prev.frappix).
|
||||||
final: prev: {
|
final: prev: {
|
||||||
frappix = prev.frappix.overrideScope (
|
frappix = prev.frappix.overrideScope (
|
||||||
ffinal: fprev: {
|
ffinal: _fprev: {
|
||||||
default_thai_company = ffinal.callPackage ./default-thai-company.nix { };
|
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 ];
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user