diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index 8e5bca64c0..7c7a70e950 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2014 Andreas Enge ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017 Sou Bunnbu +;;; Copyright © 2017 Marius Bakke ;;; ;;; This file is part of GNU Guix. ;;; @@ -188,6 +189,14 @@ Qt-style API for Wayland clients.") (substitute* "CMakeLists.txt" (("/usr/bin/loginctl") (which "loginctl"))) #t)) + (add-before 'configure 'fix-qml-include + (lambda _ + ;; Make sure QtQml is found when building the helper. + ;; See . + (substitute* "src/helper/CMakeLists.txt" + (("target_link_libraries\\(sddm-helper") + "target_link_libraries(sddm-helper Qt5::Qml")) + #t)) (add-after 'install 'wrap-programs (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")))