[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/11: guix import: Add a blank line after each package definition.
From: |
guix-commits |
Subject: |
01/11: guix import: Add a blank line after each package definition. |
Date: |
Tue, 11 Oct 2022 10:16:00 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7d9fd1d7b7a328555adda4f72d7eec8906f28880
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Oct 10 17:24:19 2022 +0200
guix import: Add a blank line after each package definition.
Starting from commit 371a83b764c4993d198666e1674454eecbefcdf1, 'guix
import crate -r' (or similar) would no longer print a blank line in
between definitions. This patch fixes it.
Reported by jgart <jgart@dismail.de>.
* guix/scripts/import.scm (guix-import): Add second 'newline' call.
---
guix/scripts/import.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm
index bd3cfd2dc3..2bca927d63 100644
--- a/guix/scripts/import.scm
+++ b/guix/scripts/import.scm
@@ -97,7 +97,9 @@ Run IMPORTER with ARGS.\n"))
((? list? expressions)
(for-each (lambda (expr)
(print expr)
- (newline))
+ ;; Two newlines: one after the closing paren, and
+ ;; one to leave a blank line.
+ (newline) (newline))
expressions))
(x
(leave (G_ "'~a' import failed~%") importer))))
- branch master updated (f78cfcd7d3 -> 68d79a8b60), guix-commits, 2022/10/11
- 01/11: guix import: Add a blank line after each package definition.,
guix-commits <=
- 02/11: git: Factorize 'commit-id?' predicate., guix-commits, 2022/10/11
- 03/11: Revert "guix system: Remove unused 'read-operating-system' procedure.", guix-commits, 2022/10/11
- 04/11: gnu: emacs-guix: Update to cf5b7a4., guix-commits, 2022/10/11
- 05/11: gnu: emacs-guix: Remove input labels., guix-commits, 2022/10/11
- 06/11: gnu: python-pydyf: Update to 0.3.0., guix-commits, 2022/10/11
- 10/11: gnu: profanity: Update to 0.13.0., guix-commits, 2022/10/11
- 07/11: gnu: gtkwave: Update to 3.3.113., guix-commits, 2022/10/11
- 09/11: gnu: libstrophe: Update to 0.12.2., guix-commits, 2022/10/11
- 11/11: gnu: Add libskk., guix-commits, 2022/10/11
- 08/11: gnu: mmg: Add dependency on Perl., guix-commits, 2022/10/11