From a5126ae8fb1d79e52ad98c44a5f666d4b00c341c Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 12 Dec 2023 06:20:43 +0000 Subject: [PATCH] cross: re-enable jbig2dec fix (turns out it is necessary) --- overlays/cross.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/overlays/cross.nix b/overlays/cross.nix index 45f848717..75f09319d 100644 --- a/overlays/cross.nix +++ b/overlays/cross.nix @@ -1183,14 +1183,13 @@ in with final; { # }; # }; - # jbig2dec = prev.jbig2dec.overrideAttrs (_: { - # # 2023/12/08: compiles without this fix. i think it's only needed for binfmt - # # adding configureFlags here fixes: "configure: error: cannot run C compiled programs." - # # autogen needs the --host flag, i guess - # preConfigure = '' - # ./autogen.sh $configureFlags - # ''; - # }); + jbig2dec = prev.jbig2dec.overrideAttrs (_: { + # adding configureFlags here fixes: "configure: error: cannot run C compiled programs." + # autogen needs the --host flag, i guess + preConfigure = '' + ./autogen.sh $configureFlags + ''; + }); # jellyfin-media-player = mvToBuildInputs # [ libsForQt5.wrapQtAppsHook ] # this shouldn't be: but otherwise we get mixed qtbase deps