gnu: enlightenment: Fix desktop session file creation.

* gnu/packages/enlightenment.scm (enlightenment)[arguments]: Create
wayland session file only when building with wayland support.
This commit is contained in:
Efraim Flashner 2019-10-20 11:55:54 +03:00
parent 1403e1f710
commit ff093d7b7b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -298,6 +298,11 @@ (define-public enlightenment
#:phases
(modify-phases %standard-phases
(delete 'bootstrap) ; We don't want to run the autogen script.
(add-after 'unpack 'fix-dot-desktop-creation
(lambda _
(substitute* "data/session/meson.build"
(("HAVE_WAYLAND'.*") "HAVE_WAYLAND') == true\n"))
#t))
(add-before 'configure 'set-system-actions
(lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" "/tmp")