Subject: [bug#38319] [PATCH 1/4] gnu: sddm: Fix output directory for QML files.

From: Hartmut Goebel <[email-masked]>
Date: Fri, 22 Nov 2019 10:37:27 +0100

Path must match qtbase's native-search-path specification, otherwise it
will not be picked up by other packages.

* gnu/packages/display-managers.scm(sddm)[arguments]<configure-flags>:
  Change value of "-DQT_IMPORTS_DIR".
---
 gnu/packages/display-managers.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 0b8f742c38..21afc0ec5c 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -102,7 +102,7 @@
                        (assoc-ref %build-inputs "shadow")
                        "/etc/login.defs")
         (string-append "-DQT_IMPORTS_DIR="
-                       (assoc-ref %outputs "out") "/qml")
+                       (assoc-ref %outputs "out") "/lib/qt5/qml")
         (string-append "-DCMAKE_INSTALL_SYSCONFDIR="
                        (assoc-ref %outputs "out") "/etc"))
        #:modules ((guix build cmake-build-system)
-- 
2.21.0