Skip to content

Commit 543ab3e

Browse files
committed
lomiri.telephony-service: Fix build after fixed strictDeps
CMake script expects qmake binary. We don't plan on using it because it gives garbage, just patch out the check for its presence.
1 parent 9dd68d6 commit 543ab3e

File tree

1 file changed

+3
-1
lines changed
  • pkgs/desktops/lomiri/services/telephony-service

1 file changed

+3
-1
lines changed

pkgs/desktops/lomiri/services/telephony-service/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)