summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 248f0729..47e9d112 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -35,6 +35,7 @@
(gnu services)
(gnu services shepherd)
(guix channels)
+ (guix modules)
(guix gexp))
(fluid-set! read-eval? #t) ; allow #. read expansions in this file
@@ -57,7 +58,8 @@
;; We need to use #$output for `computed-file' to work.
;; Of course this isn't documented anywhere!
(computed-file name
- (with-imported-modules '((guix build utils)) ; for `dump-port'
+ (with-imported-modules (source-module-closure
+ '((guix build utils))) ; for `dump-port'
#~(begin
(use-modules (guix build utils))
(call-with-output-file #$output