The guix style command reformats a package or a file to use the code
style used by Guix.

This commits sync the %commit definition with the output
produced by guix style.

This commit should contain no functional changes.

Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 scripts/guix.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/guix.scm b/scripts/guix.scm
index 7fd75e9..cc21571 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -120,9 +120,8 @@
 (define %commit
   (let* ((port (open-input-pipe
                 "git --no-pager log --oneline HEAD -1 --format='%H'"))
-         (str  (read-line port)))
-    (close-pipe port)
-    str))
+         (str (read-line port)))
+    (close-pipe port) str))
 
 (define %local-source
   (local-file (dirname (dirname (current-filename)))
-- 
2.39.1

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to