summaryrefslogtreecommitdiff
path: root/gnu/packages/qt.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-07 23:02:17 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-08 09:36:25 -0500
commitb6e7fe40e5d975540c4170d059fdd5e1425ac616 (patch)
tree7e86c016bc8b0794160234b49ce2bf991ffeb884 /gnu/packages/qt.scm
parente5a381d0ca565915cad066ef992d0aa38e887082 (diff)
gnu: qtbase: Do not capture cmake-minimal.
* gnu/packages/qt.scm (qtbase) [phases]: Add a substitution to the patch-more-paths phase.
Diffstat (limited to 'gnu/packages/qt.scm')
-rw-r--r--gnu/packages/qt.scm6
1 files changed, 5 insertions, 1 deletions
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"))))