summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/qt.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 91983d5a4f..3115bb2606 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -695,6 +695,12 @@ developers using C++ or QML, a CSS & JavaScript like language.")
(substitute* "src/corelib/CMakeLists.txt"
(("/bin/ls")
(search-input-file inputs "bin/ls")))))
+ (add-after 'patch-source-shebangs 'do-not-capture-python
+ (lambda _
+ (substitute* '("mkspecs/features/uikit/devices.py"
+ "util/testrunner/qt-testrunner.py")
+ (((which "python3"))
+ "/usr/bin/env python3"))))
(replace 'configure
(assoc-ref %standard-phases 'configure))
(replace 'build