~ruther/guix-local

7d9fd1d7b7a328555adda4f72d7eec8906f28880 — Ludovic Courtès 3 years ago f78cfcd
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.
1 files changed, 3 insertions(+), 1 deletions(-)

M guix/scripts/import.scm
M guix/scripts/import.scm => guix/scripts/import.scm +3 -1
@@ 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))))