diff --git a/pkgs/applications/science/math/cemu-ti/cmake-no-deploy.patch b/pkgs/applications/science/math/cemu-ti/cmake-no-deploy.patch new file mode 100644 index 000000000000..919dbc05331d --- /dev/null +++ b/pkgs/applications/science/math/cemu-ti/cmake-no-deploy.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 68ce1294..5c2924f6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -350,7 +350,7 @@ message("Binary dir: ${CMAKE_CURRENT_BINARY_DIR}") + + # TODO: linux .desktop/.xml files + +-if(COMMAND qt_generate_deploy_app_script) ++if(FALSE) + qt_generate_deploy_app_script( + TARGET CEmu + FILENAME_VARIABLE deploy_script diff --git a/pkgs/applications/science/math/cemu-ti/default.nix b/pkgs/applications/science/math/cemu-ti/default.nix index 01e1602406fd..1a4f3c253513 100644 --- a/pkgs/applications/science/math/cemu-ti/default.nix +++ b/pkgs/applications/science/math/cemu-ti/default.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation (finalAttrs: { # This is resolved upstream, but I can't apply the patch because the # sourceRoot isn't set to the base of the Git repo. ./resolve-ambiguous-constexpr.patch + # Disable the deploy_script generation. It's broken with Qt 6.10 and not used by this package. + ./cmake-no-deploy.patch ]; nativeBuildInputs = [