Subject: [bug#50857] [PATCH] scripts: Add missing modules to home importer.

From: Liliana Marie Prikler <[email-masked]>
Date: Mon, 27 Sep 2021 23:44:10 +0200

This fixes backtraces encountered by running `guix home import'.

* guix/scripts/home/import.scm: Add use-modules clauses for
the modules (guix packages), (guix utils), (srfi srfi-26) and (gnu packages).
---
 guix/scripts/home/import.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/guix/scripts/home/import.scm b/guix/scripts/home/import.scm
index 39f45dbeac..3cd87b2c21 100644
--- a/guix/scripts/home/import.scm
+++ b/guix/scripts/home/import.scm
@@ -18,11 +18,15 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (guix scripts home import)
+  #:use-module (guix packages)
   #:use-module (guix profiles)
   #:use-module (guix ui)
+  #:use-module (guix utils)
   #:use-module (ice-9 match)
   #:use-module (ice-9 pretty-print)
   #:use-module (srfi srfi-1)
+  #:use-module (srfi srfi-26)
+  #:use-module (gnu packages)
   #:export (import-manifest))
 
 ;;; Commentary:
-- 
2.33.0