gnu: tpacpi-bat: Adjust for Guile 3.0.
* gnu/packages/linux.scm (tpacpi-bat)[arguments]: Provide explicit destination in calls to FORMAT.
This commit is contained in:
		
							parent
							
								
									30d0f7fa8f
								
							
						
					
					
						commit
						05e3ed302f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -4717,11 +4717,11 @@ from userspace.")
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (substitute* "tpacpi-bat"
 | 
					             (substitute* "tpacpi-bat"
 | 
				
			||||||
               (("cat ")
 | 
					               (("cat ")
 | 
				
			||||||
                (format "~a " (which "cat")))
 | 
					                (format #f "~a " (which "cat")))
 | 
				
			||||||
               ;; tpacpi-bat modprobes the acpi_call kernel module if it's not
 | 
					               ;; tpacpi-bat modprobes the acpi_call kernel module if it's not
 | 
				
			||||||
               ;; loaded.  That's the administrator's prerogative; disable it.
 | 
					               ;; loaded.  That's the administrator's prerogative; disable it.
 | 
				
			||||||
               (("system \"(modprobe .*)\"" _ match)
 | 
					               (("system \"(modprobe .*)\"" _ match)
 | 
				
			||||||
                (format "die \"Please run ‘~a’ first.\\n\"" match)))
 | 
					                (format #f "die \"Please run ‘~a’ first.\\n\"" match)))
 | 
				
			||||||
             #t))
 | 
					             #t))
 | 
				
			||||||
         (delete 'configure)            ; nothing to configure
 | 
					         (delete 'configure)            ; nothing to configure
 | 
				
			||||||
         (delete 'build)                ; nothing to build
 | 
					         (delete 'build)                ; nothing to build
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue