mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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>
This commit is contained in:
parent
1f433eafd1
commit
3e5192e6bb
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ (define exists? (match file-type
|
|||
'("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.
|
||||
|
|
Loading…
Reference in a new issue