Subject: [bug#77093] [PATCH v4 rust-team 02/22] scripts: import: Add two newlines for ‘--insert’ option.

From: Hilton Chain <[email-masked]>
Date: Tue, 29 Apr 2025 00:22:59 +0800

For consistency with ‘insert-expression’.

* guix/scripts/import.scm (guix-import): Add two newlines after inserting.

Change-Id: I55b45ca137d175fdf6ee5c0bb2b6b1ca8385750d
---
 guix/scripts/import.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm
index a85f6c6c49..4ce31b17ff 100644
--- a/guix/scripts/import.scm
+++ b/guix/scripts/import.scm
@@ -140,6 +140,7 @@ (define-command (guix-import . args)
                       (let ((port (open-file file "a")))
                         (pretty-print-with-comments port expr)
                         (newline port)
+                        (newline port)
                         (close-port port)))))))))
        (import-as-definitions importer args find-and-insert)))
     ((importer args ...)
-- 
2.49.0