From b6e7fe40e5d975540c4170d059fdd5e1425ac616 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 7 Feb 2023 23:02:17 -0500 Subject: gnu: qtbase: Do not capture cmake-minimal. * gnu/packages/qt.scm (qtbase) [phases]: Add a substitution to the patch-more-paths phase. --- gnu/packages/qt.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 7a1d60a2e5..91983d5a4f 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -680,7 +680,11 @@ developers using C++ or QML, a CSS & JavaScript like language.") (lambda* (#:key inputs #:allow-other-keys) (substitute* (find-files "bin" "\\.in$") (("/bin/pwd") - (search-input-file inputs "bin/pwd"))) + (search-input-file inputs "bin/pwd")) + ;; Do not keep a reference to cmake-minimal; it is looked + ;; from PATH anyway. + (("original_cmake_path=\"@CMAKE_COMMAND@\"") + "original_cmake_path=\"\"")) (substitute* "src/gui/platform/unix/qgenericunixservices.cpp" (("\"xdg-open\"") (format #f "~s" (search-input-file inputs "bin/xdg-open")))) -- cgit v1.2.3