gnu: qtbase: Do not capture Python from native-inputs.

* gnu/packages/qt.scm (qtbase) [phases]: Add do-not-capture-python phase.
This commit is contained in:
Maxim Cournoyer 2023-02-08 08:46:50 -05:00
parent b6e7fe40e5
commit 4012ec0276
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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