gnu: gdm: Fix configuration file discovery.
The configuration file loading code moved to a new file in version 2.28. * gnu/package/gnome.scm (gdm)[arguments]: Change the pre-configure phase to patch configuration file discovery into the 'gdm-settings.c' file.
This commit is contained in:
		
							parent
							
								
									395c142ed9
								
							
						
					
					
						commit
						a430a3501a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -5655,8 +5655,8 @@ libxml2.")
 | 
				
			||||||
                                "(self, \"" name "\","
 | 
					                                "(self, \"" name "\","
 | 
				
			||||||
                                "g_getenv (\"" name "\"));\n"))
 | 
					                                "g_getenv (\"" name "\"));\n"))
 | 
				
			||||||
                             propagate)))))
 | 
					                             propagate)))))
 | 
				
			||||||
            ;; Look for custom GDM conf in /run/current-system.
 | 
					            ;; Find the configuration file using an environment variable.
 | 
				
			||||||
            (substitute* '("common/gdm-settings-desktop-backend.c")
 | 
					            (substitute* '("common/gdm-settings.c")
 | 
				
			||||||
              (("GDM_CUSTOM_CONF")
 | 
					              (("GDM_CUSTOM_CONF")
 | 
				
			||||||
               (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
 | 
					               (string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
 | 
				
			||||||
                              " ? g_getenv(\"GDM_CUSTOM_CONF\")"
 | 
					                              " ? g_getenv(\"GDM_CUSTOM_CONF\")"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue