From 7d9fd1d7b7a328555adda4f72d7eec8906f28880 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 10 Oct 2022 17:24:19 +0200 Subject: 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 . * guix/scripts/import.scm (guix-import): Add second 'newline' call. --- guix/scripts/import.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guix/scripts/import.scm') 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)))) -- cgit v1.2.3