komikku: fix cross compilation

This commit is contained in:
Colin 2023-07-12 09:16:32 +00:00
parent 0d6a10bc3a
commit f5264508eb
2 changed files with 5 additions and 2 deletions

View File

@ -706,8 +706,10 @@ in {
]; ];
}); });
komikku = prev.komikku.override { komikku = prev.komikku.override {
# GI_TYPELIB_PATH points to x86_64 types in the default build, only when using wrapGAppsHook4 komikku = prev.komikku.unpatched.override {
wrapGAppsHook4 = final.wrapGAppsHook; # GI_TYPELIB_PATH points to x86_64 types in the default build, only when using wrapGAppsHook4
wrapGAppsHook4 = final.wrapGAppsHook;
};
}; };
koreader = (prev.koreader.override { koreader = (prev.koreader.override {
# fixes runtime error: luajit: ./ffi/util.lua:757: attempt to call field 'pack' (a nil value) # fixes runtime error: luajit: ./ffi/util.lua:757: attempt to call field 'pack' (a nil value)

View File

@ -15,4 +15,5 @@ komikku.overrideAttrs (upstream: {
hash = "sha256-mn81hCt5xrypJMOOiCOg8NthLjglXntTDsYpcdCg0E8="; hash = "sha256-mn81hCt5xrypJMOOiCOg8NthLjglXntTDsYpcdCg0E8=";
}) })
]; ];
passthru.unpatched = komikku;
}) })