summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/base.scm1
-rw-r--r--gnu/packages/lsh.scm3
2 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 831e108520..f828f3531c 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -379,6 +379,7 @@ library for working with executable and object formats is also included.")
              '(substitute* "sysdeps/unix/sysv/linux/configure"
                 (("use_ldconfig=yes")
                  "use_ldconfig=no")))
+            (modules '((guix build utils)))
             (patches (list (search-patch "glibc-ldd-x86_64.patch")))))
    (build-system gnu-build-system)
 
diff --git a/gnu/packages/lsh.scm b/gnu/packages/lsh.scm
index 56eeb08446..74857226c4 100644
--- a/gnu/packages/lsh.scm
+++ b/gnu/packages/lsh.scm
@@ -68,10 +68,9 @@ basis for almost any application.")
               (sha256
                (base32
                 "1qqjy9zfzgny0rkb27c8c7dfsylvb6n0ld8h3an2r83pmaqr9gwb"))
+              (modules '((guix build utils)))
               (snippet
                '(begin
-                  (use-modules (guix build utils))
-
                   (substitute* "src/testsuite/functions.sh"
                     (("localhost")
                      ;; Avoid host name lookups since they don't work in