gnu: emacs-osm: Record the absolute file name of 'curl'.
* gnu/packages/emacs-xyz.scm (emacs-osm)[arguments, inputs]: New fields.
This commit is contained in:
		
							parent
							
								
									0011dd0a01
								
							
						
					
					
						commit
						09c7eeb659
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
					@ -30817,6 +30817,16 @@ audio volume via amixer.")
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0aiq2z9vv4jsl0s0x9vpjgp0mnn27wanhirzj3h80ivgiphzs7l5"))))
 | 
					        (base32 "0aiq2z9vv4jsl0s0x9vpjgp0mnn27wanhirzj3h80ivgiphzs7l5"))))
 | 
				
			||||||
    (build-system emacs-build-system)
 | 
					    (build-system emacs-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases (modify-phases %standard-phases
 | 
				
			||||||
 | 
					                  (add-after 'unpack 'set-curl-file-name
 | 
				
			||||||
 | 
					                    (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
 | 
					                      (substitute* "osm.el"
 | 
				
			||||||
 | 
					                        (("\"curl( ?)\"" _ space)
 | 
				
			||||||
 | 
					                         (string-append "\""
 | 
				
			||||||
 | 
					                                        (search-input-file inputs "/bin/curl")
 | 
				
			||||||
 | 
					                                        space "\""))))))))
 | 
				
			||||||
 | 
					    (inputs (list curl))
 | 
				
			||||||
    (synopsis "OpenStreetMap viewer for Emacs")
 | 
					    (synopsis "OpenStreetMap viewer for Emacs")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "This package provides an OpenStreetMap viewer for Emacs, featuring
 | 
					     "This package provides an OpenStreetMap viewer for Emacs, featuring
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue