diff options
author | Timo Wilken | 2022-11-21 23:49:55 +0100 |
---|---|---|
committer | Timo Wilken | 2022-11-22 00:13:17 +0100 |
commit | 54b73d182bf3800b1a71ac0009346d443e55336e (patch) | |
tree | 420f83e2a262c63102c24053b65eddbedc275a70 /home-configuration.scm | |
parent | e5ef85eb952339f053d3ed20468792d1ba82ca42 (diff) |
Use `source-module-closure` as recommended
Diffstat (limited to 'home-configuration.scm')
-rw-r--r-- | home-configuration.scm | 4 |
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 |