guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 02/09: gnu: qtbase: Do not capture Python from native-inputs.
Date: Wed, 8 Feb 2023 09:40:37 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 4012ec027621d9d530cd4f6e88d591b3c6a6163e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Feb 8 08:46:50 2023 -0500

    gnu: qtbase: Do not capture Python from native-inputs.
    
    * gnu/packages/qt.scm (qtbase) [phases]: Add do-not-capture-python phase.
---
 gnu/packages/qt.scm | 6 ++++++
 1 file changed, 6 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]