mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
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.
This commit is contained in:
parent
9dd68d6bc6
commit
543ab3ed81
@ -67,8 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postPatch = ''
|
||||
# Queries qmake for the QML installation path, which returns a reference to Qt5's build directory
|
||||
# Patch out failure if QMake is not found, since we don't use it
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace "\''${QMAKE_EXECUTABLE} -query QT_INSTALL_QML" "echo $out/${qtbase.qtQmlPrefix}"
|
||||
--replace "\''${QMAKE_EXECUTABLE} -query QT_INSTALL_QML" "echo $out/${qtbase.qtQmlPrefix}" \
|
||||
--replace-fail 'QMAKE_EXECUTABLE STREQUAL "QMAKE_EXECUTABLE-NOTFOUND"' 'FALSE'
|
||||
|
||||
'' + lib.optionalString finalAttrs.finalPackage.doCheck ''
|
||||
substituteInPlace tests/common/dbus-services/CMakeLists.txt \
|
||||
|
Loading…
Reference in New Issue
Block a user