File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
pkgs/desktops/lomiri/services/telephony-service Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
6767
6868 postPatch = ''
6969 # Queries qmake for the QML installation path, which returns a reference to Qt5's build directory
70+ # Patch out failure if QMake is not found, since we don't use it
7071 substituteInPlace CMakeLists.txt \
71- --replace "\'' ${QMAKE_EXECUTABLE} -query QT_INSTALL_QML" "echo $out/${ qtbase . qtQmlPrefix } "
72+ --replace "\'' ${QMAKE_EXECUTABLE} -query QT_INSTALL_QML" "echo $out/${ qtbase . qtQmlPrefix } " \
73+ --replace-fail 'QMAKE_EXECUTABLE STREQUAL "QMAKE_EXECUTABLE-NOTFOUND"' 'FALSE'
7274
7375 '' + lib . optionalString finalAttrs . finalPackage . doCheck ''
7476 substituteInPlace tests/common/dbus-services/CMakeLists.txt \
You can’t perform that action at this time.
0 commit comments