gnu: cool-retro-term: Fix qml path.
authorOleg Pykhalov <go.wigust@gmail.com>
Fri, 17 Nov 2017 01:08:33 +0000 (04:08 +0300)
committerOleg Pykhalov <go.wigust@gmail.com>
Fri, 17 Nov 2017 10:28:08 +0000 (13:28 +0300)
* gnu/packages/terminals.scm (cool-retro-term): Fix qml path.

gnu/packages/terminals.scm

index 2f74c5d..2155118 100644 (file)
@@ -493,7 +493,7 @@ embedded kernel situations.")
                       (share (string-append out "/share")))
                  (substitute* '("qmltermwidget/qmltermwidget.pro")
                    (("INSTALL_DIR = \\$\\$\\[QT_INSTALL_QML\\]")
-                    (string-append "INSTALL_DIR = " out "/qml")))
+                    (string-append "INSTALL_DIR = " out "/lib/qt5/qml")))
                  (substitute* '("app/app.pro")
                    (("target.path \\+= /usr")
                     (string-append "target.path += " out))
@@ -514,7 +514,7 @@ embedded kernel situations.")
            (add-after 'install 'wrap-executable
              (lambda* (#:key inputs outputs #:allow-other-keys)
                (let* ((out (assoc-ref outputs "out"))
-                      (qml "/qml"))
+                      (qml "/lib/qt5/qml"))
                  (wrap-program (string-append out "/bin/cool-retro-term")
                    `("QML2_IMPORT_PATH" ":" prefix
                      (,(string-append out qml)