gnu: imposm3: Fix build.
* gnu/packages/geo.scm (imposm3)[arguments]: Adapt unpack-path for the new unpack phase. [phases]: Remove the "rename-import" phase, now obsolete.
This commit is contained in:
		
							parent
							
								
									fb09818277
								
							
						
					
					
						commit
						bdc0c20cab
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		| 
						 | 
					@ -713,14 +713,9 @@ delivered to any client.")
 | 
				
			||||||
    (build-system go-build-system)
 | 
					    (build-system go-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:import-path "github.com/omniscale/imposm3/cmd/imposm"
 | 
					     `(#:import-path "github.com/omniscale/imposm3/cmd/imposm"
 | 
				
			||||||
       #:unpack-path "github.com/omniscale"
 | 
					       #:unpack-path "github.com/omniscale/imposm3"
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-before 'build 'rename-import
 | 
					 | 
				
			||||||
           (lambda _
 | 
					 | 
				
			||||||
             (rename-file (string-append "src/github.com/omniscale/imposm3-" ,version)
 | 
					 | 
				
			||||||
                          "src/github.com/omniscale/imposm3")
 | 
					 | 
				
			||||||
             #t))
 | 
					 | 
				
			||||||
         (add-before 'build 'set-version
 | 
					         (add-before 'build 'set-version
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (substitute* "src/github.com/omniscale/imposm3/version.go"
 | 
					             (substitute* "src/github.com/omniscale/imposm3/version.go"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue