Subject: Re: [bug#59451] [PATCH] gnu: cura: Make it work on wayland.

From: Christopher Baines <[email-masked]>
Date: Wed, 23 Nov 2022 09:20:10 +0000

Demis Balbach <[email-masked]> writes:

> * gnu/packages/engineering.scm (cura): Make it work on wayland.
> ---
>  gnu/packages/engineering.scm | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 43e23e30a8..42537364e6 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -3780,6 +3780,7 @@ (define-public cura
>             (lambda* (#:key outputs #:allow-other-keys)
>               (let ((out (assoc-ref outputs "out")))
>                 (wrap-program (string-append out "/bin/cura")
> +                 '("QT_QPA_PLATFORM" = ("xcb"))
>                   (list "GUIX_PYTHONPATH"
>                         'prefix (list (string-append out
>                                                      "/lib/python"

Setting this environment variable here seems quite unusual. What's it
doing, and would anyone want to set a different value?

Thanks,

Chris