build: go-build-system: Re-ident.

* guix/build/go-build-system.scm (unpack): Fix indentation.
This commit is contained in:
Maxim Cournoyer 2019-04-04 23:24:57 -04:00
parent 85c1d20fa6
commit b5f0528354
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 6 additions and 6 deletions

View File

@ -161,12 +161,12 @@ unpacking."
(let ((dest (string-append (getenv "GOPATH") "/src/" unpack-path)))
(mkdir-p dest)
(if (file-is-directory? source)
(begin
(copy-recursively source dest #:keep-mtime? #t)
#t)
(if (string-suffix? ".zip" source)
(invoke "unzip" "-d" dest source)
(invoke "tar" "-C" dest "-xvf" source)))))
(begin
(copy-recursively source dest #:keep-mtime? #t)
#t)
(if (string-suffix? ".zip" source)
(invoke "unzip" "-d" dest source)
(invoke "tar" "-C" dest "-xvf" source)))))
(define (go-package? name)
(string-prefix? "go-" name))