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:
		
							parent
							
								
									1403e1f710
								
							
						
					
					
						commit
						ff093d7b7b
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -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")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue