From 13f16ea2cf5b38c8e13853892658113ba31ef228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 22 Dec 2024 08:13:32 +0100 Subject: [PATCH] kodi: fixup build by using older swig The log got some lines with `swig error : Unrecognized option` I suspect the trigger was swig update in (7b1064cba927). --- pkgs/applications/video/kodi/unwrapped.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/kodi/unwrapped.nix b/pkgs/applications/video/kodi/unwrapped.nix index 8e65a6a11037..495e8f398b37 100644 --- a/pkgs/applications/video/kodi/unwrapped.nix +++ b/pkgs/applications/video/kodi/unwrapped.nix @@ -190,7 +190,7 @@ in stdenv.mkDerivation (finalAttrs: { "-DENABLE_OPTICAL=${if opticalSupport then "ON" else "OFF"}" "-DENABLE_VDPAU=${if vdpauSupport then "ON" else "OFF"}" "-DLIRC_DEVICE=/run/lirc/lircd" - "-DSWIG_EXECUTABLE=${buildPackages.swig}/bin/swig" + "-DSWIG_EXECUTABLE=${buildPackages.swig3}/bin/swig" "-DFLATBUFFERS_FLATC_EXECUTABLE=${buildPackages.flatbuffers}/bin/flatc" "-DPYTHON_EXECUTABLE=${buildPackages.python3Packages.python}/bin/python" "-DPYTHON_LIB_PATH=${python3Packages.python.sitePackages}"