aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-09-14 23:37:25 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-11-09 21:33:47 +0000
commitd80979ce690bbac8566b7250e5abdf9fb88238dc (patch)
tree58a32ffbf9466cde42d0793e25e39ed8eca74344 /gnu/packages/version-control.scm
parentdc59b331b12575c5f2e2d117f545ef153b3a47da (diff)
downloadguix-d80979ce690bbac8566b7250e5abdf9fb88238dc.tar.gz
guix-d80979ce690bbac8566b7250e5abdf9fb88238dc.zip
gnu: go-github-com-go-git-go-git-v5: Update style.
* gnu/packages/version-control.scm (go-github-com-go-git-go-git-v5): Apply G-expression. Change-Id: I80fd085c8ea9bda9d7be45ee8965bbea50117516
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm31
1 files changed, 15 insertions, 16 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index cf7a0ae084..9a703e9bbc 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3937,22 +3937,21 @@ defects faster.")
"1vkcmhh2qq8c38sjbnzf0wvg2rzr19wssaq177bsvrjwj1xz1qbs"))))
(build-system go-build-system)
(arguments
- `(#:tests? #f ;requires network connection
- #:import-path "github.com/go-git/go-git/v5"
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'setup
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((git (assoc-ref inputs "git"))
- (git-bin (string-append (assoc-ref inputs "git") "/bin"))
- (git-exe (string-append git-bin "/git")))
- (setenv "GIT_DIST_PATH=" git)
- (setenv "GIT_EXEC_PATH=" git-bin)
- (setenv "HOME" (getcwd))
- (invoke git-exe "config" "--global" "user.email" "gha@example.com")
- (invoke git-exe "config" "--global" "user.name" "GitHub Actions")
- #t)
- #t)))))
+ (list
+ #:tests? #f ;requires network connection
+ #:import-path "github.com/go-git/go-git/v5"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'setup
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((git #$(this-package-native-input "git"))
+ (git-bin (string-append git "/bin"))
+ (git-exe (string-append git-bin "/git")))
+ (setenv "GIT_DIST_PATH=" git)
+ (setenv "GIT_EXEC_PATH=" git-bin)
+ (setenv "HOME" (getcwd))
+ (invoke git-exe "config" "--global" "user.email" "gha@example.com")
+ (invoke git-exe "config" "--global" "user.name" "GitHub Actions")))))))
(propagated-inputs
(list go-github-com-alcortesm-tgz
go-github-com-emirpasic-gods