From 3121a6a7e901214fa6d0eba0aa39188deea6902a Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 23 Jul 2023 11:37:18 +0000 Subject: [PATCH] cross: koreader-from-src: fix by emulating luajit --- overlays/cross.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/overlays/cross.nix b/overlays/cross.nix index f393677f..3cae26c4 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -733,6 +733,10 @@ in { final.autoPatchelfHook ]; }); + koreader-from-src = prev.koreader-from-src.override { + # fixes runtime error: luajit: ./ffi/util.lua:757: attempt to call field 'pack' (a nil value) + inherit (emulated) luajit; + }; libgweather = rmNativeInputs [ final.glib ] (prev.libgweather.override { # alternative to emulating python3 is to specify it in `buildInputs` instead of `nativeBuildInputs` (upstream), # but presumably that's just a different way to emulate it.