guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: tegola: Fix build.


From: guix-commits
Subject: 02/02: gnu: tegola: Fix build.
Date: Mon, 6 May 2019 23:38:18 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit d9ef50b3bc41be80f93ba6a86a911f7c68ab5ca6
Author: Maxim Cournoyer <address@hidden>
Date:   Mon May 6 23:10:36 2019 -0400

    gnu: tegola: Fix build.
    
    * gnu/packages/geo.scm (tegola)[arguments]: Adapt the "unpack-path" for the 
new
    unpack phase.
    * gnu/packages/geo.scm (tegola)[phases]{set-version}: Update the directory 
path.
    {rename-import}: Remove phase.
---
 gnu/packages/geo.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c8d149a..94f2cf0 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -668,21 +668,15 @@ extension.")
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/go-spatial/tegola/cmd/tegola"
-       #:unpack-path "github.com/go-spatial"
+       #:unpack-path "github.com/go-spatial/tegola"
        #:phases
        (modify-phases %standard-phases
          (add-before 'build 'set-version
            (lambda _
-             (with-directory-excursion
-               (string-append "src/github.com/go-spatial/tegola-" ,version)
+             (with-directory-excursion "src/github.com/go-spatial/tegola"
                (substitute* '("cmd/tegola/cmd/root.go"
                               "cmd/tegola_lambda/main.go")
                  (("version not set") ,version)))
-             #t))
-         (add-before 'build 'rename-import
-           (lambda _
-             (rename-file (string-append "src/github.com/go-spatial/tegola-" 
,version)
-                          "src/github.com/go-spatial/tegola")
              #t)))))
     (home-page "http://tegola.io";)
     (synopsis "Vector tile server for maps")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]