summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-04-04 23:24:57 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-05-05 20:06:18 -0400
commitb5f05283548d1329672d23bf0cd9a9d31b9b364c (patch)
tree3f1bbb08d1e191e1b1394dd624884f415bb3fb0e
parent85c1d20fa6fe7cd295cac754939d98159c3ee459 (diff)
downloadguix-b5f05283548d1329672d23bf0cd9a9d31b9b364c.tar.gz
build: go-build-system: Re-ident.
* guix/build/go-build-system.scm (unpack): Fix indentation.
-rw-r--r--guix/build/go-build-system.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm
index 282df19f24..973ee6e251 100644
--- a/guix/build/go-build-system.scm
+++ b/guix/build/go-build-system.scm
@@ -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))