diff options
author | Zheng Junjie <873216071@qq.com> | 2023-07-21 15:22:59 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-08-02 22:27:43 +0800 |
commit | 3e5192e6bb3f1f0d80a87c1e69d6a9f3da267b28 (patch) | |
tree | 283c57d6d2bc23ac8e54eaaf23ce7b4fa1a765f8 /guix/build | |
parent | 1f433eafd1945d758161ff755d33fe692ac00986 (diff) |
build: qt-utils: Wrap QML2_IMPORT_PATH with 'prefix' location.
Some qml files have optional or circular dependencies, use 'prefix' instead of
'=' to get those dependencies from environment/profile.
* guix/build/qt-utils.scm (variables-for-wrapping): Use 'prefix' for
QML2_IMPORT_PATH.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'guix/build')
-rw-r--r-- | guix/build/qt-utils.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/qt-utils.scm b/guix/build/qt-utils.scm index f52e3f7af5..7d1b0e0e23 100644 --- a/guix/build/qt-utils.scm +++ b/guix/build/qt-utils.scm @@ -90,7 +90,7 @@ '("XDG_CONFIG_DIRS" suffix directory "/etc/xdg") `("QT_PLUGIN_PATH" prefix directory ,(format #f "/lib/qt~a/plugins" qt-major-version)) - `("QML2_IMPORT_PATH" = directory + `("QML2_IMPORT_PATH" prefix directory ,(format #f "/lib/qt~a/qml" qt-major-version)) ;; QTWEBENGINEPROCESS_PATH accepts a single value, which makes 'exact the ;; most suitable environment variable type for it. |