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:
Maxim Cournoyer 2019-05-06 23:05:05 -04:00
parent fb09818277
commit bdc0c20cab
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -713,14 +713,9 @@ (define-public imposm3
(build-system go-build-system)
(arguments
`(#:import-path "github.com/omniscale/imposm3/cmd/imposm"
#:unpack-path "github.com/omniscale"
#:unpack-path "github.com/omniscale/imposm3"
#: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
(lambda _
(substitute* "src/github.com/omniscale/imposm3/version.go"