me
/
guix
Archived
1
0
Fork 0

gnu: enlightenment: Fix desktop session file creation.

* gnu/packages/enlightenment.scm (enlightenment)[arguments]: Create
wayland session file only when building with wayland support.
master
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
1 changed files with 5 additions and 0 deletions

View File

@ -298,6 +298,11 @@ Libraries with some extra bells and whistles.")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'bootstrap) ; We don't want to run the autogen script. (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 (add-before 'configure 'set-system-actions
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")