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 @@ (define-public qtbase (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