gnu: cool-retro-term: Fix qml path.
* gnu/packages/terminals.scm (cool-retro-term): Fix qml path.
This commit is contained in:
parent
9bc646d053
commit
669be6acfe
|
@ -493,7 +493,7 @@ embedded kernel situations.")
|
||||||
(share (string-append out "/share")))
|
(share (string-append out "/share")))
|
||||||
(substitute* '("qmltermwidget/qmltermwidget.pro")
|
(substitute* '("qmltermwidget/qmltermwidget.pro")
|
||||||
(("INSTALL_DIR = \\$\\$\\[QT_INSTALL_QML\\]")
|
(("INSTALL_DIR = \\$\\$\\[QT_INSTALL_QML\\]")
|
||||||
(string-append "INSTALL_DIR = " out "/qml")))
|
(string-append "INSTALL_DIR = " out "/lib/qt5/qml")))
|
||||||
(substitute* '("app/app.pro")
|
(substitute* '("app/app.pro")
|
||||||
(("target.path \\+= /usr")
|
(("target.path \\+= /usr")
|
||||||
(string-append "target.path += " out))
|
(string-append "target.path += " out))
|
||||||
|
@ -514,7 +514,7 @@ embedded kernel situations.")
|
||||||
(add-after 'install 'wrap-executable
|
(add-after 'install 'wrap-executable
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(qml "/qml"))
|
(qml "/lib/qt5/qml"))
|
||||||
(wrap-program (string-append out "/bin/cool-retro-term")
|
(wrap-program (string-append out "/bin/cool-retro-term")
|
||||||
`("QML2_IMPORT_PATH" ":" prefix
|
`("QML2_IMPORT_PATH" ":" prefix
|
||||||
(,(string-append out qml)
|
(,(string-append out qml)
|
||||||
|
|
Loading…
Reference in New Issue